/
2002: Change password
2002: Change password
Updates password of an entity after first having verified that the old password is correct and matches entity
Endpoint ID: | 2002 | |||||||||||||
Method: | PUT | |||||||||||||
URL: | /entity/id/{entity-id}/password /entity/ext-key/{ext-key}/{ext-type}/password | |||||||||||||
entity-id | Rubiq entity ID that uniquely identifies an account to change password for | |||||||||||||
ext-key | External key that uniquely identifies an account to change password for | |||||||||||||
ext-type | Type of external key | |||||||||||||
Request body: | JSON data with login ID and both old and new password Required fields: loginID, oldPassword, newPassword Example { "loginID": "mailbox@mailserver.com", "oldPassword": "secretABC", "newPassword": "secret123" } | |||||||||||||
| None | |||||||||||||
Status codes: | 204 | Password was updated with success | ||||||||||||
400 | Request is valid but data validation failed because the new password doesn’t comply with the required rules | |||||||||||||
403 | Old password doesn’t match the password stored in the database The following sub codes may be returned:
| |||||||||||||
404 | Account was not found The following sub codes may be returned:
| |||||||||||||
412 | App has no permission to change password |
, multiple selections available,
Related content
1003: Update account data
1003: Update account data
More like this
2004: Verify account
2004: Verify account
More like this
2005: Request onetime-password
2005: Request onetime-password
More like this
Password policy
Password policy
More like this
2121: Submit data request
2121: Submit data request
More like this
2105: Accept permission
2105: Accept permission
More like this