Skip to main content

Resets the user password

POST/v2/users/:id_or_email/resetPassword

Sets a new password for a specified user by an application with user management permissions. The current password is not required. The new password must comply with the organization's password security policy.

Request​

Path parameters

    id_or_email stringrequired
    • id:
    • email:

Body parameters

    password stringrequired

    New password.

    forceChangePasswordNextSignIn boolean

    Whether the password must be changed on next login.

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