Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.bind-actor ​

Bind a Staff actor to an end-user seat of an identity app (human admin only)

Bind a Staff actor to an end-user seat of an identity app (human org admin only).

Inputs:

  • organization_uuid: owning organization — tenant check (required)
  • identity_app_uuid: the app (required)
  • staff_actor_uuid: the Staff actor to seat (required)
  • group_slug: access group (optional, default "member"; never "owner")
  • app_organization_uuid: workspace to add the actor to (optional)
  • workspace_group_slug: workspace role (optional; never "owner")
  • reason: why (required, audited)

Outputs (terminal state_data):

  • end_user_uuid, staff_actor_uuid, identity_app_uuid, status, seated, cap, consumed, free, group_slug, app_organization_uuid, workspace_group_slug, created, revived, changed

Refusals (failure_reason): identity_admin_requires_human (code HUMAN_PRINCIPAL_REQUIRED), ACTOR_INACTIVE, ACTOR_NOT_ACTIVE, ACTOR_IDENTITY_MISSING, ACTOR_TOKEN_REQUIRED, ACTOR_SEAT_NOT_PAID, ACTOR_END_USER_NOT_BOUND, ELIGIBILITY_UNAVAILABLE, OWNER_ROLE_FORBIDDEN_FOR_STAFF_ACTOR, ORG_NOT_SUBSCRIBED, SEAT_CAP_REACHED.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringNo——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
staff_actor_uuidstringYes——
group_slugstringNo——
app_organization_uuiduuidNo——
workspace_group_slugstringNo——
reasonstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidNo——
staff_actor_uuidstringNo——
identity_app_uuiduuidNo——
statusstringNo——
seatedbooleanNo——
capintegerNo——
consumedintegerNo——
freeintegerNo——
group_slugstringNo——
app_organization_uuiduuidNo——
workspace_group_slugstringNo——
createdbooleanNo——
revivedbooleanNo——
changedbooleanNo——
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.bind-actor",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "staff_actor_uuid": "value",
    "reason": "value"
  }
}