Change my password
PUT /account/password
Self-service password change. Verifies the current password, applies the policy (min length / complexity from system_config.auth.password_policy), rejects reuse of the last 5 passwords, and (optionally) revokes every other session belonging to the caller as a defensive default.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
The caller’s current password — verified before the change is accepted.
The new password. Must satisfy the system password policy.
When true, every session belonging to the caller EXCEPT the one authenticating this request is revoked. Defensive default for “I think someone got my password” recovery flows. Defaults to true client-side; the server doesn’t assume either way (omitting the field = false).
Responses
Section titled “ Responses ”Password changed.
object
Count of other sessions ended as part of this change.
Malformed request
object
Human-readable error summary
Example
the request could not be completedAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Unexpected server error
object
Human-readable error summary
Example
the request could not be completed