Skip to main content
Skip table of contents

User password update

User password update

PUT/api/admin/v1/users/self/update-password

Headers

Authorization

Bearer token

Accept

application/json

Body

old_passwordrequired

string

Old password

passwordrequired

string

New password

password_confirmationrequired

string

Confirm password, to ensure the password is entered correctly

Response

200

Successful response

JSON
{
    "status": "ok"
}
401

Authorization token is not provided or is invalid. Obtaining a token

422

Returns a JSON object with an error. Validation

JSON
{
    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The reason for the error will be described here"
        ]
    }
}

Example

JSON
curl -k --location --request PUT 'https://vms.local/api/admin/v1/users/self/update-password' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.