Skip to main content

Lock user

POST 

/v2/users/:userId/lock

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.)..

Request​

Responses​

OK