Skip to main content
DELETE
/
webhooks
/
{id}
Delete a webhook
curl --request DELETE \
  --url https://api.fyatu.com/api/v3.20/webhooks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": 200,
  "message": "Webhook deleted",
  "data": {
    "deleted": true,
    "webhookId": "whk_01HXYZ7777ABCDEF4444"
  },
  "meta": {
    "requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
    "platform": "Fyatu CaaS",
    "timestamp": "2026-05-22T10:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Permanently deletes a webhook endpoint. Event delivery to this URL stops immediately. Pending deliveries that are in-flight may still be attempted once before the deletion takes effect. If you want to pause delivery temporarily, use PATCH /webhooks/{id} with { "enabled": false } instead.

Path Parameters

ParameterTypeDescription
idstringThe webhook ID (prefix whk_)

Example

curl -X DELETE https://api.fyatu.com/api/v3.20/webhooks/whk_01HXYZ7777ABCDEF4444 \
  -H "Authorization: Bearer $FYATU_API_KEY"

Success Response (200)

{
  "success": true,
  "status":  200,
  "message": "Webhook deleted",
  "data": {
    "deleted":   true,
    "webhookId": "whk_01HXYZ7777ABCDEF4444"
  },
  "meta": {
    "requestId":  "req_01HXY123456ABCDEF",
    "platform": "Fyatu CaaS",
    "timestamp":  "2026-05-22T10:00:00Z"
  }
}

Error Codes

CodeHTTPCause
WEBHOOK_NOT_FOUND404Webhook does not exist or belongs to another business/environment
INSUFFICIENT_SCOPE403Key lacks webhooks:write scope

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Response

Webhook deleted

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Webhook deleted"

data
object
meta
object