Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-25 18:43:05 +0300
committerRémy Coutable <remy@rymai.me>2016-11-25 18:43:05 +0300
commitd03ca3d02e39d32e41e26f1100dcb793a7d758ad (patch)
tree59fb7106ffe39767de8c9692ac5f5b647d303af8 /doc/api/users.md
parentfc0350118385df28e435488cbf4be35e5cfbe70b (diff)
parented61d44e1edfd41c36ec9085aa95f470bb5699fa (diff)
Merge branch 'issue-24534' into 'master'
Remove unnecessary sentences for return codes in the API documentation Closes #24534 See merge request !7511
Diffstat (limited to 'doc/api/users.md')
-rw-r--r--doc/api/users.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index b38c335490a..52a6b691610 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -271,8 +271,8 @@ Parameters:
- `can_create_group` (optional) - User can create groups - true or false
- `external` (optional) - Flags the user as external - true or false(default)
-Note, at the moment this method does only return a 404 error,
-even in cases where a 409 (Conflict) would be more appropriate,
+Note, at the moment this method does only return a `404` error,
+even in cases where a `409` (Conflict) would be more appropriate,
e.g. when renaming the email address to some existing one.
## User deletion
@@ -449,8 +449,6 @@ Parameters:
- `title` (required) - new SSH Key's title
- `key` (required) - new SSH key
-Will return created key with status `201 Created` on success, or `404 Not found` on fail.
-
## Delete SSH key for current user
Deletes key owned by currently authenticated user.
@@ -581,8 +579,6 @@ Parameters:
- `id` (required) - id of specified user
- `email` (required) - email address
-Will return created email with status `201 Created` on success, or `404 Not found` on fail.
-
## Delete email for current user
Deletes email owned by currently authenticated user.