Skip to main content

SuccessResponse_ManagedUserArray

successboolean
Constant value: true
data object[]
  • Array [
  • idinteger

    The provisioned user / service-account ID

    emailstring<email>
    descriptionstring | nullnullable

    Free-text description; populated for client-managed service accounts

    firstNamestring | nullnullable

    Populated for human users; null for service accounts

    lastNamestring | nullnullable

    Populated for human users; null for service accounts

    userTypeUserType (string)

    Whether the user is a human end-user or a client-managed service account.

    Possible values: [human, client-managed]

    isLockedboolean

    true while the account is suspended, whatever the kind.

    lockReasonstring | nullnullable

    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.

    oneOf
    SuspensionKind (string)

    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]

    lockMessagestring | nullnullable

    The message the suspended user receives verbatim in every refused call, null when none was given (a fixed default text is returned instead).

    currentOrganizationIdinteger | nullnullable
    createdAtstring<date-time>
  • ]
  • SuccessResponse_ManagedUserArray
    {
    "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"
    }
    ]
    }