data.identity.organization.update ​
Patch-update an Organization row
Patch-update an existing (non-deleted) Organization row.
Input: organization_uuid, organization_uuid (tenant check), plus any subset of updatable fields. Output in state_data: organization_uuid, updated_fields, updated_at.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization ID (tenant check) |
name | string | No | — | — |
email | string | No | — | — |
phone | string | No | — | — |
address | string | No | — | — |
city | string | No | — | — |
state | string | No | — | — |
zip | string | No | — | — |
country | string | No | — | — |
website | string | No | — | — |
domain | string | No | — | — |
description | string | No | — | — |
region | string | No | — | — |
billing_currency | string | No | — | — |
actor | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
updated_fields | list | Yes | — | — |
updated_at | string | Yes | — | — |
actor | string | No | — | — |
address | string | No | — | — |
billing_currency | string | No | — | — |
city | string | No | — | — |
country | string | No | — | — |
description | string | No | — | — |
domain | string | No | — | — |
email | string | No | — | — |
name | string | No | — | — |
phone | string | No | — | — |
region | string | No | — | — |
state | string | No | — | — |
website | string | No | — | — |
zip | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Update organization |
completed | No | Yes | Yes | — | Updated |
failed | No | Yes | No | — | Update failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.identity.organization.update",
"initial_data": {
"organization_uuid": "value"
}
}