Skip to main content
DELETE
/
webhooks
/
{webhook_id}
/
agents
/
{agent_webhook_id}
Python
import requests

webhook_id = "your-webhook-id"
agent_webhook_id = "link-id-from-list"
response = requests.delete(
    f"https://api.roe-ai.com/webhooks/{webhook_id}/agents/{agent_webhook_id}/",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)
if response.status_code == 204:
    print("Agent unlinked")
This API endpoint will be available in the next release. For now, use the Roe UI to manage webhooks.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_webhook_id
string<uuid>
required

The ID of the webhook-agent link (from list agents response)

webhook_id
string<uuid>
required

Response

204

Agent unlinked successfully