Skip to content
Proud to collaborate with Microsoft for Startups

subscription.actor-rbac-seat.internal-revoke ​

Internal non-Stripe paid RBAC actor seat revoke.

Revoke one Staff actor's paid RBAC seat without touching Stripe.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID for tenant isolation.
subscription_uuiduuidNo—Optional platform subscription UUID; omitted resolves the active platform subscription.
staff_actor_uuidstringYes—Staff actor UUID to remove from paid RBAC mode.
revoke_tokensbooleanNo—When true or omitted, revoke active exported actor tokens.
reasonstringNo—Internal audit/source reason.
source_workflow_refstringNo—Calling workflow reference.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID.
subscription_uuiduuidNo—Platform subscription UUID.
staff_actor_uuidstringNo—Staff actor UUID.
agent_uuidstringNo—Agent identity UUID.
operationstringNo—Internal seat operation.
statusstringNo—Operation status.
permission_modestringNo—Current actor permission mode.
seat_modestringNo—Current actor seat mode.
token_statestringNo—Current token state.
active_token_countintegerNo—Active exported token count.
revoked_token_countintegerNo—Tokens revoked by this operation.
token_refresh_requiredbooleanNo—True when the actor needs fresh credentials after a safe revoke/grant cycle.
subscription_statusstringNo—Current subscription status.
current_period_endstringNo—Current billing period end timestamp.
explanationstringNo—Paid RBAC actor seat model explanation.
paid_rbac_actor_seats_totalintegerNo—Paid agent seat pool total.
paid_rbac_actor_seats_usedintegerNo—Paid Staff actors currently consuming seats.
integration_key_seats_usedintegerNo—Integration keys consuming the same paid agent pool.
shared_paid_agent_seats_usedintegerNo—Total paid agent seats currently consumed.
paid_rbac_actor_seats_availableintegerNo—Remaining paid agent seats.
purchase_requiredbooleanNo—True when no paid agent seat remains available.
stripe_readybooleanNo—Existing customer billing readiness signal.
stripe_callslistNo—Always empty for internal non-Stripe seat grants/revokes.
priorjsonNo—Prior actor and seat status.
completed_atstringNo—Completion timestamp.
failed_atstringNo—Failure timestamp.
failure_reasonstringNo—Failure reason.
errorstringNo—Unexpected error message.
error_typestringNo—Unexpected error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "subscription.actor-rbac-seat.internal-revoke",
  "initial_data": {
    "organization_uuid": "value",
    "staff_actor_uuid": "value"
  }
}