Change Password

Change the password of the user

Authentication

AuthorizationBearer
Bearer token authentication

Request

This endpoint expects an object.
newPasswordstringRequired
The new password to set
currentPasswordstringRequired
The current password is required
revokeOtherSessionsboolean or nullOptional
Must be a boolean value

Response

Password successfully changed
userobject
tokenstring or null
New session token if other sessions were revoked

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error