Account / Cognito change password
Route: /api/sys/v{version:apiVersion}/account/cognito_change_password
Method: POST
Authorisation: Minimum role: USER
Response object
Response status: 200 (OK)
Response type: DTO_acknowledgement
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_cognito_change_password
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| current_password | String | Current password | |
| new_password | String | New password |
DTO_acknowledgement
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| message | String | Message |