Skip to main content

Modifies the user password

POST/v2/users/:id_or_email/changePassword

Validates the user's current password and then sets a new password. The new password must comply with the organization's password strength and weak password rules.

Request​

Path parameters

    id_or_email stringrequired
    • id:
    • email:

Body parameters

    old stringrequired

    Old password.

    new stringrequired

    New password.

Response

No response fieldsA successful response contains no documented fields.

Errors

400Bad Request
401

Access is unauthorized. Please check whether the correct authorization token is passed.

403

No API access permission. Please complete the relevant authorization on the application management page of the domain administrator.

404Not Found