update_event
Update a custom event's payload schema by passing a flat key→type map, or clear it with null. Event names remain unchanged; create a new event to rename.
Instructions
Update a custom-event definition's payload schema (PATCH /events/:id). The event NAME is immutable (renaming would detach automations that reference it) — create a new event to rename. Pass schema as a flat key→type map, or null to clear it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The event definition id. | |
| schema | No | Flat key→type map, e.g. { plan: 'string' }, or null to clear. |