Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.member-seat.assume ​

Take an end-user seat of your organization's identity app, as yourself (org members)

Take an end-user seat of one of your organization's identity apps, as yourself.

Caller: a human member of the organization (any role). The seat is linked to your console account, so there is no separate password: exchange your console token for an app end-user token at POST /api/auth/end-user/member-token, then use the app's end-user surfaces (for example the chat: buzz.session.issue).

Inputs:

  • organization_uuid: owning organization (required)
  • identity_app_uuid: the app (required)

Outputs: end_user_uuid, identity_app_uuid, member_user_uuid, status, seated, cap, consumed, free, created, revived, linked_existing, changed.

Refusals (failure_reason): identity_admin_requires_human (code MEMBER_PRINCIPAL_REQUIRED), MEMBER_USER_UNKNOWN, MEMBER_SEAT_NOT_ASSUMED (app not in this organization), MEMBER_NOT_IN_ORGANIZATION, MEMBER_EMAIL_REQUIRED, MEMBER_SEAT_EMAIL_CONFLICT, END_USER_DISABLED, ORG_NOT_SUBSCRIBED, SEAT_CAP_REACHED, ELIGIBILITY_UNAVAILABLE.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringNo——
organization_uuiduuidYes——
identity_app_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidNo——
identity_app_uuiduuidNo——
member_user_uuidstringNo——
statusstringNo——
status_reasonstringNo——
seatedbooleanNo——
group_slugstringNo——
assigned_by_user_uuidstringNo——
assigned_atstringNo——
capintegerNo——
consumedintegerNo——
freeintegerNo——
changedbooleanNo——
createdbooleanNo——
revivedbooleanNo——
linked_existingbooleanNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.end-user.member-seat.assume",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}