Manual
CLI
API
Log in Get started free

Change your password

Sets a new password. Every other session of yours ends; the one you use stays.

Sets a new password. Every other session of yours ends; the one you use stays.

HTTP
PUT /account/password

Access: Session token only. API keys get 403 with insufficient_scope.

Request body #

JSON.

FieldTypeRequiredDescription
currentPasswordstringyesYour current password.
newPasswordstringyesThe new password. At least 8 characters, or more when the organisation sets a longer minimum or requires a mix of characters.
JSON
{ "currentPassword": "old secret", "newPassword": "correct horse battery" }

Response 204 #

The password is changed. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403wrong_passwordcurrentPassword is not your password.
422invalid_requestnewPassword is too_short (shorter than the minimum of the organisation, at least 8) or too_weak (the organisation requires upper case, lower case and a digit).
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.