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
- Type: stringD
C Key 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
- Type: stringNew
Password min length:1requiredNew password
- Type: stringPasswordmin length:1required
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"
}