Hapus Tujuan Telemetri
DELETE/v1/organizations/telemetry_destinations/{destination_id}
Hapus tujuan beserta daftar workspace-nya.
API berhenti mengirim span ke tujuan tersebut. Span dari workspace yang dicakupnya tetap dikirim ke tujuan lain yang mencakupnya. Tujuan yang dihapus tidak dapat dibaca, dicantumkan, atau dipulihkan.
Lihat panduan ekspor OpenTelemetry untuk mempelajari lebih lanjut tentang mengelola tujuan.
Parameters
Returns
Hapus Tujuan Telemetri
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"
}