Skip to main content
PUT
Change password.

Authorizations

Authorization
string
header
required

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

Body

application/json

Data needed to change password.

currentPassword
string
required

The user's current password.

Example:

"current_password"

newPassword
string
required

The user's new password.

Example:

"new_password"

Response

Successful password update.

statusCode
number

Request status code.

Example:

200

message
string

Message returned by the request.

Example:

"Password updated"

data
string

Data returned by the request.

Example:

"Password changed successfully for user did:user:<id>"