volanea_update_webhook_endpoint
Change an existing webhook endpoint — flip enabled, repoint url after a tunnel restarts, or change which events it subscribes to. This closes a real gap: volanea_get_project_status will happily report an endpoint as enabled: false, and without this tool the only way to act on that was a raw REST call, so the server could diagnose a problem it could not fix. Partial update — omitted fields are left alone. The signing secret is never rotated by this call, so existing verification code keeps working.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New HTTPS destination. Must be publicly reachable — deliveries originate from Volanea's servers, so a localhost or private address can never receive one. | |
| events | No | Replaces the subscribed event list entirely — send the full set, not a delta. | |
| enabled | No | False stops deliveries without deleting the endpoint or rotating its secret. The usual reason an endpoint receives nothing. | |
| endpointId | Yes | The `whep-…` id, from volanea_list_resources { webhooks }. | |
| description | No | Label shown in the dashboard's endpoint list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable failure code to branch on. Present only when success is false. | |
| data | No | Present when success is true. | |
| error | No | Human-readable failure reason. Present only when success is false. | |
| success | Yes | False when the call failed; read `error` and `code` in that case. |