刪除遙測目的地
DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headers刪除目的地及其工作區清單。
API 會停止將 span 傳送至該目的地。其所涵蓋工作區的 span 仍會傳送至涵蓋這些工作區的其他目的地。已刪除的目的地無法讀取、列出或還原。
請參閱 OpenTelemetry 匯出指南,進一步了解如何管理目的地。
Parameters
Returns
刪除遙測目的地
using System;
using Anthropic.Models.Beta.Organization.TelemetryDestinations;
TelemetryDestinationDeleteParams parameters = new()
{
DestinationID = "destination_id"
};
var betaDeletedTelemetryDestination = await client.Beta.Organization.TelemetryDestinations.Delete(parameters);
Console.WriteLine(betaDeletedTelemetryDestination);Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}