network.account-unsync ​
Remove synced network account inventory from LtInteg (soft delete, DB only)
Soft-delete a network account, all scopes, inventory, and profiles (DB only).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-network |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
network_account_uuid | uuid | Yes | — | UUID of the NetworkAccount to unsync |
organization_uuid | uuid | Yes | — | Organization UUID for tenant isolation |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
unsynced_account_uuid | uuid | Yes | — | UUID of the NetworkAccount that was soft-deleted |
unsynced_at | string | Yes | — | ISO-8601 timestamp of the unsync operation |
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 | Unsync account |
completed | No | Yes | Yes | — | Unsynced |
failed | No | Yes | No | — | Unsync 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": "network.account-unsync",
"initial_data": {
"network_account_uuid": "value",
"organization_uuid": "value"
}
}