Skip to content
Proud to collaborate with Microsoft for Startups

identity.app-organization.create ​

Create an app-organization (workspace) inside an identity app

Create an app-organization (workspace) inside an identity app.

Inputs: actor, organization_uuid, identity_app_uuid, name, slug (all required), kind (optional classification), metadata (optional app-defined extras). The slug is unique per app. Outputs: app_organization_uuid, slug, name, kind, created.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
namestringYes——
slugstringYes——
kindstringNo——
metadatadictNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
app_organization_uuiduuidNo——
slugstringNo——
namestringNo——
kindstringNo——
createdbooleanNo——
identity_app_uuiduuidNo——
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.app-organization.create",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "name": "value"
  }
}