Reference / Dashboard

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 /v1/dashboard/change-password
End-user session operationId: 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_password string required
  • new_password string 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 request
POST http://localhost:8080/v1/dashboard/change-password

Request body

application/json