PUT
/v2/organizations/{organizationId}/users/{userId}/disableDisable a managed user
Disables the account of a user managed by an organization. Use this operation when you need to prevent the managed user from accessing their account without removing them from the organization. Supply the organization and user identifiers.
organizationIdintegerrequired
The integer identifier of the organization that manages the user.
userIdintegerrequired
The integer identifier of the managed user whose account to disable.
200Returns confirmation that the managed user's account was disabled.
400Returned when the request cannot be processed for the specified managed user.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to manage users in the organization.
codestringrequired
paramsarray<object>optional
404Returned when the organization or user cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request cannot be processed for the specified managed user. A 401 is returned when the request is not authenticated, and a 403 when the authenticated user cannot manage users in the organization. A 404 is returned when the organization or user cannot be found.