Skip to main content
PUT
Change password

Authorizations

X-Auth-Apikey
string
header
required

HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and X-Auth-Signature.

Body

application/json
new_password
string
required

At least 8 characters, with an uppercase letter, a lowercase letter and a number. Each rule not met is one error code: identity.password.too_short, identity.password.missing_uppercase, identity.password.missing_lowercase, identity.password.missing_number.

Example:

"A new passphrase 9"

old_password
string
required

Verified against the stored hash before anything changes.

Example:

"correct horse battery staple"

Response

200 - application/json
message
string
required

Human-readable confirmation. The operation succeeded if the status is 2xx.

Example:

"Password was reset"