Skip to main content
PUT
Change the password

Authorizations

Authorization
string
header
default:ACCESS_TOKEN
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
current_password
string
required
Example:

"OldCorrectHorse!9"

new_password
string
required
Minimum string length: 12
Example:

"NewCorrectHorse!Battery9"

Response

200 - application/json

Password changed.

success
boolean
required
Example:

true

message
string
required
Example:

"Done"

data
any
required

Payload; shape depends on the endpoint.