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:
- email:
id_or_email stringrequired
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
400 | Bad 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. |
404 | Not Found |