Disable user
POST/v2/organizations/:organizationCode/users/:uid/disable
> [!important]
Required permission scope:
stonal.user.write
Disables the user within the organization; a disabled user has no access to it. When the user has no remaining enabled authority across all organizations, their account is disabled in the identity provider so they can no longer authenticate.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 422
- 500
User successfully disabled
Bad request
Unauthorized - Missing authentication
Forbidden - Access denied
Resource not found
Conflict - Resource conflict
Unprocessable Entity - Validation errors
Internal server error