Remove a webhook
remove_webhookRemoves an endpoint: CodeGene stops sending to it at once, and deliveries still waiting to be tried again are dropped. Only owners and admins can remove one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint_id": "<endpoint_id>",
"reason": "<reason>"
},
"name": "remove_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| endpoint_id | Yes | The endpoint (list_webhooks gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |