PUT
/v2/administration/users/{userId}/disableDisable a server user
Disables a server user account so the user can no longer log in, while preserving the user's data. Use this operation when you need to suspend access without deleting the account. You can restore access later with the enable-user operation.
userIdintegerrequired
The integer identifier of the server user to disable.
200Confirms that the server user was disabled.
400Returned when `userId` is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to manage server users.
codestringrequired
paramsarray<object>optional
404Returned when the specified server user is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when userId is invalid, a 401 when the request is unauthenticated, a 403 when the authenticated user lacks permission to manage server users, and a 404 when the user is not found. The userId path parameter must be an integer identifying the server user to disable.