Удаление назначения телеметрии
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"
}