Delete Webhook
Delete a webhook. Chatway stops sending events to its endpoint immediately.
DELETE https://developers.chatway.app/api/v1/webhooks/{webhook}Example request
curl -X DELETE "https://developers.chatway.app/api/v1/webhooks/{webhook}" \
-H "X-API-KEY: your_api_key"Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
webhook | path | Yes | string |
Responses
200
application/json
message (string, required)mock (boolean, required)
403
Examples
Response 200 example
{
"message": "Webhook deleted successfully.",
"mock": true
}