Updates API-Users.md
Auto commit by GitBook Editor
parent
885d7c64fc
commit
6ad28874c0
19
API-Users.md
19
API-Users.md
|
@ -192,5 +192,24 @@ _Response:_
|
|||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### POST `/users/:id/password` 🔒
|
||||
|
||||
Updates a users password.
|
||||
|
||||
#### Parameters
|
||||
|
||||
**ID:** The `ID` of the user whichs password you want to update.
|
||||
|
||||
#### Payload
|
||||
|
||||
Expects a JSON user object \(see inserting an user\).
|
||||
|
||||
#### Response
|
||||
|
||||
**200** The user was successfully updated.
|
||||
**400** User payload is empty or not valid.
|
||||
**404** No user with this `ID` exists.
|
||||
**500** An error occured while updating.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user