刪除組織 Webhook 端點
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. How to send beta headers刪除組織 webhook 端點。
每個請求都必須包含 beta 標頭 anthropic-beta: webhooks-2026-10-07。未包含此標頭的請求會傳回 404,就如同此 API 不存在一樣。Anthropic 會為每個組織個別開啟組織 webhook 端點功能;在您的組織開啟之前,請求也會傳回 404。組織 webhook 端點目前為 beta 版,且不適用於已啟用 HIPAA 就緒的組織。
Parameters
Returns
刪除組織 Webhook 端點
<?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"
}