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
idstringRequiredWebhook ID, format wep_<ULID>
Request example
curl -X DELETE "$AGENTSTUDIO_URL/webhook_endpoints/wep_01JXX7YQGPRPV1BZXA35QE7WDP" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fields
request_idstringUnique request identifier
Response example
{
"request_id": "8e1d16e4"
}
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | webhook not found |
Is this page helpful?