Updated documentation for added Admin APIs

This commit is contained in:
Angus MacArthur 2013-03-05 23:48:40 -05:00
parent 61ffcab60f
commit 47abdc10ca
3 changed files with 50 additions and 0 deletions

View file

@ -220,6 +220,23 @@ Parameters:
Will return created key with status `201 Created` on success, or `404 Not
found` on fail.
## Add SSH key for user
Create new key owned by specified user. Available only for admin
```
POST /users/:id/keys
```
Parameters:
+ `id` (required) - id of specified user
+ `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
Delete key owned by currently authenticated user