Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.organization.get ​

Get details for one workspace the current end-user belongs to

Get details for one workspace the CURRENT end-user belongs to.

Principal is the injected end-user token (never input). Input: app_organization_uuid. Fails closed if the end-user is not a member (does not leak workspace details). Outputs: app_organization_ref, role, capabilities, membership_status, kind.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
app_organization_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
app_organization_refdictNo——
rolestringNo——
capabilitieslistNo——
membership_statusstringNo——
kindstringNo——
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.organization.get",
  "initial_data": {
    "app_organization_uuid": "value"
  }
}