Skip to content
Proud to collaborate with Microsoft for Startups

data.identity.seat-grant.persist ​

Grant a batch of end-user seats to an app (raises the cap)

Insert an EndUserSeatGrant (raises the app's end-user seat cap).

Input: identity_app_uuid (required), batch_size (required, >0), source (required, stripe_checkout:<session_id>), actor (optional). Output: seat_grant_uuid, batch_size, created_at, persisted.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidYes——
batch_sizeintegerYes——
sourcestringYes——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
seat_grant_uuiduuidYes——
batch_sizeintegerYes——
created_atstringYes——
persistedbooleanYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completePersist seat grant
completedNoYesYes—Persisted
failedNoYesNo—Persist failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.identity.seat-grant.persist",
  "initial_data": {
    "identity_app_uuid": "value",
    "batch_size": 123,
    "source": "value"
  }
}