diff options
author | James Brooks <james@bluebaytravel.co.uk> | 2014-08-15 15:03:01 +0100 |
---|---|---|
committer | James Brooks <james@bluebaytravel.co.uk> | 2014-08-15 15:03:01 +0100 |
commit | 3f36f84c1fb4dd2d444e02e4aeba5e1c65ddfd94 (patch) | |
tree | acf89dc5e1ea2494803ef6cac26cd74fdbf04801 /doc/api/users.md | |
parent | cb33279a0f36f2c6a70d5ecf00bbd8749b92c51b (diff) | |
download | gitlab-ce-3f36f84c1fb4dd2d444e02e4aeba5e1c65ddfd94.tar.gz |
Consistency, spelling and grammar
Diffstat (limited to 'doc/api/users.md')
-rw-r--r-- | doc/api/users.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index 57078353fd0..3fdd3a75e88 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -202,7 +202,7 @@ e.g. when renaming the email address to some existing one. Deletes a user. Available only for administrators. This is an idempotent function, calling this function for a non-existent user id -still returns a status code `200 Ok`. +still returns a status code `200 OK`. The JSON response differs if the user was actually deleted or not. In the former the user is returned and in the latter not. @@ -336,7 +336,7 @@ Will return created key with status `201 Created` on success, or `404 Not found` Deletes key owned by currently authenticated user. This is an idempotent function and calling it on a key that is already deleted -or not available results in `200 Ok`. +or not available results in `200 OK`. ``` DELETE /user/keys/:id @@ -359,4 +359,4 @@ Parameters: - `uid` (required) - id of specified user - `id` (required) - SSH key ID -Will return `200 Ok` on success, or `404 Not found` if either user or key cannot be found. +Will return `200 OK` on success, or `404 Not found` if either user or key cannot be found. |