Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.member-seat.release ​

Release an org member's end-user seat in an identity app (self, or org admins for others)

Release a member end-user seat: it stops counting against the app's seat cap and every end-user token issued for it is invalidated.

Caller: the member (own seat), or an org ADMIN/OWNER naming member_user_uuid. The row is kept (status suspended, status_reason seat_released) so assuming again revives the same end user and its data.

Inputs: organization_uuid, identity_app_uuid (required), member_user_uuid (admins). Outputs: the seat view plus released, changed, cap, consumed, free. Refusals: MEMBER_PRINCIPAL_REQUIRED, MEMBER_ADMIN_REQUIRED, MEMBER_NOT_IN_ORGANIZATION, MEMBER_SEAT_NOT_ASSUMED.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringNo——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
member_user_uuidstringNo—Another member's seat to release (org admins only); omit for your own

Output Schema ​

FieldTypeRequiredDefaultDescription
end_user_uuiduuidNo——
identity_app_uuiduuidNo——
member_user_uuidstringNo——
statusstringNo——
status_reasonstringNo——
seatedbooleanNo——
group_slugstringNo——
assigned_by_user_uuidstringNo——
assigned_atstringNo——
capintegerNo——
consumedintegerNo——
freeintegerNo——
changedbooleanNo——
releasedbooleanNo——
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.member-seat.release",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}