neon.projects.update ​
Update a Neon project's name or settings (PATCH)
Updates a Neon project's name (or other mutable settings) via PATCH.
Neon's PATCH /projects/{id} is synchronous — it returns the updated project immediately with no operations[] array to poll. Calling PATCH with an unchanged name is idempotent.
Inputs:
- neon_project_id: Neon provider project ID (required)
- name: new project name (optional)
Outputs (terminal state_data):
- neon_project_id: str — Neon provider project ID
- name: str — confirmed project name after update
- provider_metadata: dict — full Neon project object from the response
Plugin required: context.get_plugin("neon") must expose .api_token.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | Base |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Cloud connection holding the Neon credential |
neon_project_id | string | Yes | — | Neon provider project ID |
name | string | No | — | New project name |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | — |
neon_project_id | string | No | — | — |
name | string | No | — | — |
provider_metadata | json | 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 | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "neon.projects.update",
"initial_data": {
"neon_project_id": "value"
}
}