Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.group.seed-defaults ​

Seed the default end-user access groups for an app

Seed the four default access groups (owner/admin/member/support) for an app.

Inputs:

  • actor: Cognito sub or user UUID (required)
  • organization_uuid: owning organization — tenant check (required)
  • identity_app_uuid: the app to seed (required)

Outputs (terminal state_data):

  • identity_app_uuid, created_groups, default_groups

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidNo——
created_groupslistNo——
default_groupslistNo——
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.group.seed-defaults",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}