diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-25 18:43:05 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-25 18:43:05 +0300 |
commit | d03ca3d02e39d32e41e26f1100dcb793a7d758ad (patch) | |
tree | 59fb7106ffe39767de8c9692ac5f5b647d303af8 /doc/api/users.md | |
parent | fc0350118385df28e435488cbf4be35e5cfbe70b (diff) | |
parent | ed61d44e1edfd41c36ec9085aa95f470bb5699fa (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.md | 8 |
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. |