Lock user
POST/users/:id/_lock
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
The state of the user will be changed to 'locked'. The user will not be able to log in anymore. The endpoint returns an error if the user is already in the state 'locked'. Use this endpoint if the user should not be able to log in temporarily because of an event that happened (wrong password, etc.),
Deprecated: please use user service v2 LockUser
Request​
Responses​
- 200
- default
OK
An unexpected error response.