Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.organization.query ​

List the workspaces the current end-user is a member of

List the app-organizations (workspaces) the CURRENT end-user is a member of.

Principal is the injected end-user token (never input). No inputs. Outputs: items [{app_organization_ref: {uuid, slug, name}, role, membership_status}], total.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

No input fields required.

Output Schema ​

FieldTypeRequiredDefaultDescription
itemslistNo——
totalintegerNo——
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.query",
  "initial_data": { }
}