identity.end-user.member-seat.assign ​
Seat another member of your organization in one of its identity apps (org admins)
Seat another member of your organization in one of its identity apps (org admins).
Caller: a human ADMIN or OWNER of the organization. The target must be a live member of the same organization. Consumes one app end-user seat.
Inputs:
- organization_uuid, identity_app_uuid (required)
- member_user_uuid: the member to seat (required; not yourself, use assume)
Outputs and refusals as identity.end-user.member-seat.assume, plus MEMBER_ADMIN_REQUIRED.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
actor | string | No | — | — |
organization_uuid | uuid | Yes | — | — |
identity_app_uuid | uuid | Yes | — | — |
member_user_uuid | string | Yes | — | The console user (a member of this organization) to seat |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
end_user_uuid | uuid | No | — | — |
identity_app_uuid | uuid | No | — | — |
member_user_uuid | string | No | — | — |
status | string | No | — | — |
status_reason | string | No | — | — |
seated | boolean | No | — | — |
group_slug | string | No | — | — |
assigned_by_user_uuid | string | No | — | — |
assigned_at | string | No | — | — |
cap | integer | No | — | — |
consumed | integer | No | — | — |
free | integer | No | — | — |
changed | boolean | No | — | — |
created | boolean | No | — | — |
revived | boolean | No | — | — |
linked_existing | boolean | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
reason | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "identity.end-user.member-seat.assign",
"initial_data": {
"organization_uuid": "value",
"identity_app_uuid": "value",
"member_user_uuid": "value"
}
}