Delete Organization Webhook Endpoint
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. How to send beta headersDelete an organization webhook endpoint.
Every request must include the beta header anthropic-beta: webhooks-2026-10-07. A request without it returns 404, exactly as if this API did not exist. Anthropic turns organization webhook endpoints on for each organization; until yours is on, requests also return 404. Organization webhook endpoints are in beta and are not available to organizations with HIPAA readiness enabled.
Parameters
Returns
Delete Organization Webhook Endpoint
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;
$client = new Client(apiKey: 'my-anthropic-api-key');
$betaDeletedOrganizationWebhookEndpoint = $client
->beta
->organization
->webhooks
->delete(
'webhook_endpoint_id', betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24]
);
var_dump($betaDeletedOrganizationWebhookEndpoint);Response 200
{
"id": "id",
"type": "webhook_endpoint_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "webhook_endpoint_deleted"
}