Skip to content

Change Password

Allows an authenticated user to change their password by providing their current (old) password and a new one.

POST/user/v1/changepwd
Terminal window
curl -X POST https://api.juspredict.com/user/v1/changepwd \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"old_password": "currentPassword123",
"new_password": "newSecurePassword456"
}'
FieldRequirement
old_passwordMust be between 8 and 16 characters.
new_passwordMust be between 8 and 16 characters.
{
"status": {
"type": "SUCCESS",
"details": []
}
}
FieldTypeDescription
statusStatusOperation status.