Reset user password
PATCH
/users/password/{id}Contract
Parameter | Value |
|---|---|
| Section | users |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | User ID |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | New temporary credentials | object |
400 | Invalid ID | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{ "email": "<string>", "password": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }