Deskhero Developer Hub
Back to deskhero.com
Account

Cognito change password

Changes the password of the current account after the supplied current password has been verified.

POST /api/sys/v{version:apiVersion}/account/cognito_change_password
Authorisation
Minimum role: USER

Request arguments

Name Type Source
inputDTO_cognito_change_passwordBody
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_cognito_change_password
NameTypeReadOnlyDescription
current_passwordStringCurrent password
new_passwordStringNew password
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 4, 2026 18:37