summaryrefslogtreecommitdiff
path: root/doc/api/users.md
diff options
context:
space:
mode:
authorLuis Alonso Chavez Armendariz <lchavez@nearsoft.com>2016-11-24 10:28:52 -0700
committerLuis Alonso Chavez Armendariz <lchavez@nearsoft.com>2016-11-24 10:28:52 -0700
commited61d44e1edfd41c36ec9085aa95f470bb5699fa (patch)
treefa1e469baab4423875bbe38b23d84517e25fd547 /doc/api/users.md
parent843ae9b26e6d307c6b2e140e904b77565a649674 (diff)
downloadgitlab-ce-ed61d44e1edfd41c36ec9085aa95f470bb5699fa.tar.gz
Remove unnecessary sentences for status codes in the API documentation
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.