Delete Webhook
Updated at:
Deletes a Webhook. After deletion, no new events are delivered. Events already produced but not yet delivered are cancelled. Past delivery events remain queryable for 7 days.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
DELETE /webhook_endpoints/{id}
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | string | Webhook ID, format wep_<ULID> |
Request example
curl -X DELETE "$AGENTSTUDIO_URL/webhook_endpoints/wep_01JXX7YQGPRPV1BZXA35QE7WDP" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response example
{
"request_id": "8e1d16e4"
}
Response fields
| Field | Type | Description |
|---|---|---|
request_id | string | Unique request identifier |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | Webhook not found, deleted, or does not belong to the current workspace |
Is this page helpful?