neon.project.delete ​
Delete a Neon project from the provider and soft-delete the local row
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-neon |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
neon_project_uuid | uuid | Yes | — | — |
actor | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
neon_project_uuid | uuid | Yes | — | — |
actor | string | No | — | — |
neon_project_id | string | No | — | — |
provider_deleted_at | string | No | — | — |
deleted_at | string | No | — | — |
already_deleted | boolean | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
auto_advance | string | No | — | Optional next-action override used by conditional short-circuits |
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 |
failure_type | string | No | — | Engine-stamped failure category (atomic path) |
failed_action | string | No | — | Engine-stamped action method that raised (atomic path) |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | delete_provider | Inputs accepted |
deleting_provider | No | No | — | soft_delete | Deleting project at Neon |
soft_deleting | No | No | — | complete | Soft-deleting the local NeonProject row |
completed | No | Yes | Yes | — | Project deleted |
failed | No | Yes | No | — | Delete failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | delete_provider | deleting_provider | — |
deleting_provider | soft_delete | soft_deleting | — |
soft_deleting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "neon.project.delete",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value",
"neon_project_uuid": "value"
}
}