Change Password
Note: This endpoint is for returning users only. If you are changing your password for the first time, start with the Set Password endpoint.
METHOD: POST
ENDPOINT: https://api.playground.protegrity.com/auth/change-password
DESCRIPTION:
Change your password.
Password requirements: Your new password should be at least 8 characters long, include a special character, a lowercase letter, an uppercase letter, and a number.
SAMPLE REQUEST
curl --location 'https://api.playground.protegrity.com/auth/change-password' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "<USER_EMAIL>",
"old_password": "<OLD_PASSWORD>",
"new_password": "<NEW_PASSWORD>"
}'
SAMPLE RESPONSE
{
"statusCode": 201,
"message": "Password change successful"
}
Last modified January 20, 2025