Reset a local user's password
PUT/api/v1/ManagedAccount/ResetLocalUserPassword/:managedAccountId
Sets a new password for a local user without needing the current password. Use it when a local user is locked out or has forgotten the password.
Permission required: Admin role.
Caution: The password changes immediately and the previous password stops working.
Request
Responses
- 200
- 400
- 401
- 403
The password was reset. The body is a text message.
The IDs do not match, or the password could not be reset. The body is a generic text message.
No user exists with that ID.
The signed-in user does not have the required role.