deprecated
Change ShiftWorks password (legacy)
Deprecated: Use ChangePassword instead.
Changes the password for the current ShiftWorks employee user and returns a fresh JWT token
pair reflecting the updated credentials. Obsolete: use ChangePassword instead.
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·
Change password model.
- Type: stringNew
Password min length:1required - Type: stringOld
Password min length:1required
Responses
Request Example for post/v2/Account/shiftworks/change-password
curl /v2/Account/shiftworks/change-password \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"OldPassword": "",
"NewPassword": ""
}'
{
"AccessToken": "string",
"RefreshToken": "string"
}