Updates API-Users.md

Auto commit by GitBook Editor
kolaente 2018-01-26 14:55:06 +01:00
parent 885d7c64fc
commit 6ad28874c0

@ -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.