テレメトリ送信先を削除
DELETE/v1/organizations/telemetry_destinations/{destination_id}
送信先とそのワークスペースリストを削除します。
API は送信先へのスパンの送信を停止します。対象だったワークスペースのスパンは、それらを対象とする他の送信先には引き続き送信されます。削除された送信先は、読み取り、一覧表示、復元のいずれもできません。
送信先の管理について詳しくは、OpenTelemetry エクスポートガイドを参照してください。
Parameters
Returns
テレメトリ送信先を削除
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.organization.telemetrydestinations.BetaDeletedTelemetryDestination;
import com.anthropic.models.beta.organization.telemetrydestinations.TelemetryDestinationDeleteParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaDeletedTelemetryDestination betaDeletedTelemetryDestination = client.beta().organization().telemetryDestinations().delete("destination_id");
}
}Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}