Lock an NPS user
POST/api/v1/ManagedAccount/:managedAccountId/Lock
Locks an NPS user and returns the updated user. The call also locks the user's active, pending and approval-required sessions, including live connections. Use it to stop a user from working until you unlock the account.
Permission required: Admin or App role.
Request
Responses
- 200
- 400
- 403
- 404
Returns the updated NPS user.
The user could not be locked. The body is a text message.
The signed-in user does not have the required role.
No NPS user exists with that ID.