Python
import requests webhook_id = "your-webhook-id" response = requests.delete( f"https://api.roe-ai.com/webhooks/{webhook_id}/", headers={"Authorization": "Bearer YOUR_API_KEY"} ) if response.status_code == 204: print("Webhook deleted")
Permanently delete a webhook. This will fail if the webhook is still linked to any agents. Unlink all agents first before deleting.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Webhook deleted successfully