identity.end-user.disable ​
Disable an end-user for a customer app (frees the seat)
Disable an end-user for a customer app (frees the seat; row is kept).
Inputs:
- actor: Cognito sub or user UUID
- organization_uuid: owning organization (required)
- identity_app_uuid: the app's identity tenant (required)
- end_user_uuid: the end-user to disable (required)
Outputs (terminal state_data):
- end_user_uuid, status, disabled (always True)
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
actor | string | Yes | — | — |
organization_uuid | uuid | Yes | — | — |
identity_app_uuid | uuid | Yes | — | — |
end_user_uuid | uuid | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
end_user_uuid | uuid | Yes | — | — |
status | string | Yes | — | — |
disabled | boolean | Yes | — | — |
actor | string | No | — | — |
identity_app_uuid | uuid | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | validate | — |
persisting | No | No | — | complete | — |
validating | No | No | — | persist | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | validate | validating | — |
validating | persist | persisting | — |
persisting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "identity.end-user.disable",
"initial_data": {
"actor": "value",
"organization_uuid": "value",
"identity_app_uuid": "value",
"end_user_uuid": "value"
}
}