Claude Platform Docs

조직 웹훅 엔드포인트 삭제

$client->beta->organization->webhooks->delete(string webhookEndpointID, ?list<AnthropicBeta> betas): DeletedOrganizationWebhookEndpoint
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. How to send beta headers

조직 웹훅 엔드포인트를 삭제합니다.

모든 요청에는 베타 헤더 anthropic-beta: webhooks-2026-10-07이 포함되어야 합니다. 이 헤더가 없는 요청은 이 API가 존재하지 않는 것과 똑같이 404를 반환합니다. Anthropic은 조직별로 조직 웹훅 엔드포인트를 활성화하며, 귀하의 조직에서 활성화되기 전까지는 요청이 마찬가지로 404를 반환합니다. 조직 웹훅 엔드포인트는 베타 상태이며 HIPAA 준비가 활성화된 조직에서는 사용할 수 없습니다.

Parameters
webhookEndpointID: string⁠Path parameter

ID of the webhook endpoint.

betas?: optional list<AnthropicBeta>⁠Header parameter

This endpoint is in beta: requests must send webhooks-2026-10-07 in this header.

Returns
class DeletedOrganizationWebhookEndpoint { $type = 'webhook_endpoint_deleted'; $id; }
"webhook_endpoint_deleted" type

Always webhook_endpoint_deleted.

string id

ID of the deleted 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);
Returns Examples
Response 200
{
  "id": "id",
  "type": "webhook_endpoint_deleted"
}