the signed-in member changes their own password. Verifies the current password, enforces a minimum policy, and signs the member out of all sessions.
POST
End-user session operationId: change_password/v1/dashboard/change-password Authorization
Called from the browser with the publishable application id (x-application-id); the access token lives in memory.
Request body · required
current_passwordstring requirednew_passwordstring required
Responses
200 Password changed; all sessions revoked
{
"data": {},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 401 Wrong current password
422 New password rejected by policy
Request
curl -X POST "http://localhost:8080/v1/dashboard/change-password" \
-H "Content-Type: application/json" \
-d '{
"current_password": "string",
"new_password": "string"
}'Try it
live requestPOST
http://localhost:8080/v1/dashboard/change-password