manage_webhook
Change webhook subscriptions: update URL/events/workspace/active state, preview then delete, or send a signed test delivery.
Instructions
Change a webhook subscription (list them first with list_webhooks). action=update (webhook_id): change URL, events, workspace, description, or active state; outbound side effects, so pass confirm=true only after explicit confirmation. action=delete (webhook_id): remove the subscription; preview then confirm: call without confirm to get a preview and preview_id, show the URL, events, and workspace, then call again with confirm=true and that preview_id. action=test (webhook_id): send a signed webhook.test delivery; confirm=true after explicit confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | update only. | |
| action | Yes | update, delete, or test. | |
| events | No | update only. | |
| confirm | No | update and test: true after the user explicitly confirms. delete: leave out to get a preview; true only with the preview_id after the user approved it. | |
| is_active | No | update only. | |
| preview_id | No | delete: the preview_id from the preview call. Required with confirm: true. | |
| webhook_id | Yes | Webhook ID from list_webhooks. | |
| description | No | update only. | |
| workspace_id | No | update only. null clears the workspace. |