Skip to main content
PATCH
/
v2
/
auth
/
change-password
Change password
curl --request PATCH \
  --url https://api.example.com/v2/auth/change-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currentPassword": "<string>",
  "newPassword": "<string>",
  "newConfirmPassword": "<string>"
}
'
{
  "error": "<string>"
}

Change password

PATCH request to /v2/auth/change-password

Authorizations

Authorization
string
header
required

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

Body

application/json
currentPassword
string<password>
required
newPassword
string<password>
required
newConfirmPassword
string<password>
required

Response

OK