SuccessResponse_ManagedUserArray
truedata object[]
The provisioned user / service-account ID
Free-text description; populated for client-managed service accounts
Populated for human users; null for service accounts
Populated for human users; null for service accounts
Whether the user is a human end-user or a client-managed service account.
Possible values: [human, client-managed]
true while the account is suspended, whatever the kind.
Audit-only reason given by the administrator who suspended the account, never shown to the suspended user.
suspensionKind object
The kind of the current suspension, null while the account is active. A lock set before suspension kinds existed is null as well and behaves as permanent.
- SuspensionKind
- null
How a managed user is suspended. temporary: the account keeps its API tokens and every call is answered 402 PaymentRequired with the organization's message until it is reactivated, the same tokens then work again. permanent: a service account's tokens are revoked and a human is deactivated in the identity provider, every call is answered 401. A revoked token gets the generic Unauthorized answer, without the organization's message.
Possible values: [temporary, permanent]
The message the suspended user receives verbatim in every refused call, null when none was given (a fixed default text is returned instead).
{
"success": true,
"data": [
{
"id": 0,
"email": "user@example.com",
"description": "string",
"firstName": "string",
"lastName": "string",
"userType": "human",
"isLocked": true,
"lockReason": "string",
"suspensionKind": "temporary",
"lockMessage": "string",
"currentOrganizationId": 0,
"createdAt": "2024-07-29T15:51:28.071Z"
}
]
}