Skip to main content

Deactivate user

POST 

/users/:id/_deactivate

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 'deactivated'. The user will not be able to log in anymore. The endpoint returns an error if the user is already in the state 'deactivated'. Use deactivate user when the user should not be able to use the account anymore, but you still need access to the user data.

Deprecated: please use user service v2 DeactivateUser

Request​

Responses​

OK