Skip to main content

Change your own password

POST <your-unleash-url>/api/admin/user/change-password

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Requires specifying old password and confirming new password

Request

Body

required

passwordSchema

  • password string required

    The new password to change or validate.

  • oldPassword string

    The old password the user is changing. This field is for the non-admin users changing their own password.

  • confirmPassword string

    The confirmation of the new password. This field is for the non-admin users changing their own password.

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
Body required
{
"password": "k!5As3HquUrQ",
"oldPassword": "Oldk!5As3HquUrQ",
"confirmPassword": "k!5As3HquUrQ"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/user/change-password' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"password": "k!5As3HquUrQ",
"oldPassword": "Oldk!5As3HquUrQ",
"confirmPassword": "k!5As3HquUrQ"
}'