Palbase Auth API · API
POST
/auth/password/changeChange password (authenticated)
Verifies the current password and rotates to the new one. Same
password policy as /auth/password/reset/confirm. Failed
verification counts toward the lockout policy.
Called by a signed-in user of your app, with their token and the publishable key.
Request body
current_passwordstring (password) · requirednew_passwordstring (password) · requiredcurl
curl -X POST "https://<your-ref>.palbase.studio/auth/password/change" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN" \
-H "content-type: application/json" \
-d '{"current_password":"string","new_password":"string"}'Responses
200Password changed
400Validation failed or required field missing
401Missing, invalid, or expired credentials
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation PasswordChange of auth's contract.