Profile

Update password

PATCH
/api/v1/profile/password/update
/api/v1/profile/password/update

The Authorization access token

Authorization

Authorization
Required
<token>

Please enter a valid access token

In: header

Request Body

application/jsonOptional

The current and new password

currentPassword
Required
string

Minimum length: 1

newPassword
Required
string

Minimum length: 1
curl -X PATCH "https://example.com/api/v1/profile/password/update" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "currentPassword": "string",
    "newPassword": "string"
  }'

OK