Deactivates the user with the specified id.

POST

Deactivates the user with the specified id. A deactivated user can no longer sign in. It is only possible if the user is not the last admin user.

Required Permissions: The user must be an admin or have user-manage-config:write permissions.

Path parameters

userIdstringRequired
The id of the user.