텔레메트리 대상 삭제
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"
}