Set permanent password
PUT
/users/passwordContract
Parameter | Value |
|---|---|
| Section | users |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| request | body | yes | object | New password and confirmation |
{ "password": "<string>", "passwordConfirmation": "<string>" }
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Password updated | no body |
400 | Invalid request body | object |
401 | Unauthorized | object |
500 | Passwords do not match or are too similar to the temporary password | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }