Delete Webhook

delete/v1/subscriptions/webhooks/{webhook_id}

Permanently removes a webhook subscription. Side effects: the subscription stops receiving deliveries immediately and cannot be recovered. Returns 204 with no body on success.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
webhook_idstring <uuid>YesUUID of the webhook subscription to delete.e.g. c47e2f81-9b3a-4d6e-8f10-2a5b7c9d1e3f

Request

cURL
curl -X DELETE https://api.wellapp.ai/v1/subscriptions/webhooks/{webhook_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

204Webhook subscription deleted. No content is returned.

401Missing or invalid bearer token.

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404No webhook subscription exists with the supplied id.

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}