Change password

​

Changes the password for the currently logged in user (the caller must supply the current password for verification) and returns a new JWT token pair reflecting the updated credentials. Permissions: All users.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

Current and new password.

Change password model

  • New password

  • New password

Responses

Request Example for post/v2/Account/ChangePassword
curl /v2/Account/ChangePassword \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "Password": "",
  "NewPassword": ""
}'
{
  "AccessToken": "string",
  "RefreshToken": "string"
}