Delete a subscription
Delete a subscription. Deliveries stop immediately and its delivery history is deleted too.
DELETE
https://api.centerfy.ai/webhooks/inbound/outbound-webhooks/:id Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Authenticates the request; or use Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The outbound webhook subscription id. |
Example
curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/outbound-webhooks/{id}" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.outboundWebhooks.delete("<webhookId>");
console.log(result); centerfy outboundWebhooks delete <webhookId> MCP tool: centerfy_outbound_webhooks_delete (see MCP server)
Response
{
"status": "success",
"deleted": true,
"webhook_id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c"
}Errors
404— if the subscription is not in this sub-account.