neon.role.reset_password ​
Reset a Neon role's password (does not return a connection URI or password)
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_branch_uuid | uuid | No | — | Local NeonBranch handle (tracked path). Supply this OR neon_project_id+neon_branch_id (provider path). |
neon_project_id | string | No | — | Neon provider project id (provider path — reaches provider-created branches with no local row) |
neon_branch_id | string | No | — | Neon provider branch id (provider path) |
role_name | string | Yes | — | — |
actor | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
neon_branch_uuid | uuid | No | — | Local NeonBranch handle (tracked path). Supply this OR neon_project_id+neon_branch_id (provider path). |
neon_project_id | string | No | — | Neon provider project id (provider path — reaches provider-created branches with no local row) |
neon_branch_id | string | No | — | Neon provider branch id (provider path) |
role_name | string | Yes | — | — |
actor | string | No | — | — |
credential | string | No | — | Ephemeral plaintext role credential — never persisted, scrubbed pre-COMPLETED |
reset_at | string | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
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 | — | reset | Inputs accepted |
resetting | No | No | — | complete | Resetting the role password at Neon |
completed | No | Yes | Yes | — | Password reset |
failed | No | Yes | No | — | Reset failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | reset | resetting | — |
resetting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "neon.role.reset_password",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value",
"role_name": "value"
}
}