Skip to main content
DELETE
/
v1
/
agents
/
{agent_id}
/
webhook
curl -X DELETE https://api.dari.dev/v1/agents/agt_123/webhook \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "webhook_url": null,
  "signing_enabled": false,
  "signing_secret": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.dari.dev/llms.txt

Use this file to discover all available pages before exploring further.

Remove the webhook URL and signing secret for one agent. After this succeeds, Dari stops pushing external-tool requests to your server. You can still watch the session event stream for tool.call_requested events and submit results yourself. This endpoint is idempotent. Calling it when no webhook is configured returns the same empty configuration.

Path Parameters

agent_id
string
required
Agent ID.

Headers

Authorization
string
required
Bearer token using your Dari API key.

Response Fields

webhook_url
null
Always null after the webhook is deleted.
signing_enabled
boolean
Always false after the webhook is deleted.
signing_secret
null
Always null after the webhook is deleted.
curl -X DELETE https://api.dari.dev/v1/agents/agt_123/webhook \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "webhook_url": null,
  "signing_enabled": false,
  "signing_secret": null
}