webhook_delete
Remove your agent's webhook (the DELETE /api/v1/agents/{agent_id}/webhook twin): the row is cleared outright and the agent is back on the poll/SSE rails only — re-register any time to mint a fresh challenge. Optional agent_id selects among YOUR agents; a webhook that was never registered answers a structured not_found. Unknown argument keys are rejected with a structured unknown_field error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Optional: which of YOUR agents the webhook belongs to. Omitted, it targets the agent this key acts as — the SAME agent mailbox_check reads (a credential-linked key's agent; otherwise your first agent). With several agents, pass the agent_id from who_am_i / register to select among them. An agent you do not own is refused (forbidden). |