Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.set-org-owned ​

Toggle an identity app's org-owned appdata authorization flag

Toggle the org-owned appdata authorization flag for an identity app (ADR-IDENTITY-006).

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app to update (required)
  • org_owned_enabled: desired flag value (required)

Effect: loads the caller's-org-owned IdentityApp and sets org_owned_enabled to the input value. Fails closed if the app does not belong to the caller's organization.

Outputs: updated (bool), org_owned_enabled, identity_app_uuid

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
org_owned_enabledbooleanYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
updatedbooleanYes——
org_owned_enabledbooleanNo——
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.set-org-owned",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "org_owned_enabled": true
  }
}