POST
/
auth
/
self
/
password
curl --request POST \
  --url https://api.identity.fabric.zone/ums/v2/auth/self/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oldPassword": "myoldPassword",
  "newPassword": "mynewPassword"
}'
{
  "code": "PASSWORD_CHANGED",
  "message": "Password changed successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Change Password Request

oldPassword
string

Old password used by the user

Example:

"oldpassword"

newPassword
string

New password being set by the user

Example:

"newpassword"

Response

200
application/json
Response when the password gets successfully changed
code
string
message
string