Deactivate User
Deactivate a specific User.
Authentication
✅ Tenant User (TenantUser)✅ Organization User (
CustomerEmployee)❌ End User (
EndUser)❌ Personal Access Token not allowed
✅ Service Account
Required Permissions
Auth:Users:Deactivate: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Path Parameters
User id.
1 - 64Body
If true, deactivates the user even when they are the last admin, a policy names them as an approver, or a policy needs them to reach a quorum, so a compromised last admin can be cut off. The org can be left with no active admin, and with policies that can no longer reach their quorum.
Response
Success
Username/identifier of the user (any unique string accepted, e.g. your internal user ID or email).
Display name of the user.
User id.
1 - 64^us-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"us-6b58p-r53sr-rlrd3l5cj3uc4ome"
User kind.
TenantUser, CustomerEmployee, EndUser UUID of the user's primary credential.
Whether the user is active.
Whether the user is a service account.
Whether the user has completed registration.
Whether the user must authenticate via SSO.
Permissions (roles) assigned to the user.
The credential id used for user-action signing, derived as base64url(sha256(publicKey)).
Organization id.
1 - 64^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"or-30tnh-itmjs-s235s5ontr3r23h2"
Tenant id.
1 - 64^acct-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"acct-24hka-dhili-9hgvdlvr1ohpibp4"
@deprecated - Flat list of API operations the user has access to.