Skip to main content
POST
/
auth
/
change-password
Change password for password-based accounts
curl --request POST \
  --url https://api.example.com/auth/change-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "currentPassword": "<string>",
  "newPassword": "<string>"
}
'

Body

application/json
currentPassword
string
required
newPassword
string
required

Response

Password changed successfully