Skip to main content
POST
/
api
/
v1
/
users
/
me
/
password
Set Password
curl --request POST \
  --url https://api.example.com/api/v1/users/me/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_password": "<string>",
  "confirm_password": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
new_password
string
required
confirm_password
string
required
current_password
string | null

Response

200 - application/json

OK

message
string
required