Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.set-dev-emails ​

Replace the dev-mode end-user email allowlist on an identity app

Replace the dev-mode end-user email allowlist on an identity app.

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app (required)
  • dev_allowed_emails: list of email addresses, at most 5. Pass [] to clear the allowlist.

Outputs: identity_app_uuid, dev_allowed_emails, previous_dev_allowed_emails, effective (always True — reachable only for a dev-mode app), mode

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes—Identity of the caller making this change (for audit).
organization_uuiduuidYes—Organization that owns the identity app.
identity_app_uuiduuidYes—The identity app whose dev-mode email allowlist is being replaced.
dev_allowed_emailslistYes—New dev-mode allowlist, at most 5 email addresses; pass [] to clear it.

Output Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidYes—The identity app whose dev-mode email allowlist was replaced.
dev_allowed_emailslistYes—The dev-mode allowlist now in effect.
previous_dev_allowed_emailslistNo—The allowlist that was in effect before this call.
effectivebooleanNo—Whether the allowlist governs sign-in now (always true here, since a live app is rejected before mutation).
modestringNo—The app's lifecycle mode (dev/live) at the time of this call.
failure_reasonstringNo—Human-readable explanation when the change fails.
failure_typestringNo—Stable category for a failure.
failed_actionstringNo—Action that failed while setting the dev-mode allowlist.
failed_at_statestringNo—Workflow state in which the change failed.
reasonstringNo—Optional caller-supplied reason surfaced on the fail transition.

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-dev-emails",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "dev_allowed_emails": "value"
  }
}