data.network.profile.update ​
Update a NetworkProfile (name, description, type, default, config)
Apply a partial update to a NetworkProfile.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-network |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the organization |
network_profile_uuid | uuid | Yes | — | UUID of the NetworkProfile to update |
name | string | No | — | New name |
description | string | No | — | New description |
profile_type | string | No | — | NetworkProfileType value |
is_default | boolean | No | — | Toggle org default flag |
config | dict | No | — | Profile config; UUIDs only |
actor | string | No | — | Caller initiating the update |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
network_profile_uuid | uuid | Yes | — | UUID of the updated profile |
updated_fields | list | Yes | — | Names of fields that were applied |
updated_at | string | Yes | — | ISO-8601 timestamp |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Update profile |
completed | No | Yes | Yes | — | Updated |
failed | No | Yes | No | — | Update failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
updated | SUCCESS | Update a NetworkProfile (name, description, type, default, config) | — |
failed | FAILURE | Network workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.network.profile.update",
"initial_data": {
"organization_uuid": "value",
"network_profile_uuid": "value"
}
}