Delete a webhook
Stops and deletes the webhook.
| Cost | What it does | Key scopes |
|---|---|---|
| Free | Writes | argorant:manage_lists |
Authorization
BearerAuth AuthorizationBearer <token>
Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>. A connector sign-in token (ag_mcp_...) works the same way.
In: header
Path Parameters
webhook_id*integer
The webhook id.
Header Parameters
Idempotency-Key?string
Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.
Length
length <= 128X-Request-Id?string
Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.
Match
^[A-Za-z0-9._-]{8,64}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Shell
curl -X DELETE "https://app.argorant.com/api/v1/webhooks/41" \ -H "Idempotency-Key: 6f1c2e7a-run-42"JSON
{ "deleted": true, "webhook_id": 41}