刪除組織 Webhook 端點
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.刪除組織 webhook 端點。
每個請求都必須包含 beta 標頭 anthropic-beta: webhooks-2026-10-07。未包含此標頭的請求會傳回 404,就如同此 API 不存在一樣。Anthropic 會為每個組織個別開啟組織 webhook 端點功能;在您的組織開啟之前,請求也會傳回 404。組織 webhook 端點目前為 beta 版,且不適用於已啟用 HIPAA 就緒的組織。
刪除組織 Webhook 端點
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_deleted_organization_webhook_endpoint = anthropic.beta.organization.webhooks.delete("webhook_endpoint_id")
puts(beta_deleted_organization_webhook_endpoint)Response 200
{
"id": "id",
"type": "webhook_endpoint_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "webhook_endpoint_deleted"
}