Claude Platform Docs

Eliminar un destino de telemetría

$client->beta->organization->telemetryDestinations->delete(string destinationID, ?list<AnthropicBeta> betas): DeletedTelemetryDestination
DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headers

Elimina un destino y su lista de espacios de trabajo.

La API deja de enviar spans al destino. Los spans de los espacios de trabajo que cubría siguen yendo a los demás destinos que los cubren. Un destino eliminado no se puede leer, listar ni restaurar.

Consulta la guía de exportación de OpenTelemetry para obtener más información sobre cómo administrar un destino.

Parameters
destinationID: string⁠Path parameter

ID of the destination (tdst_...).

betas?: optional list<AnthropicBeta>⁠Header parameter

This endpoint is in beta: requests must send telemetry-destinations-2026-08-11 in this header.

Returns
class DeletedTelemetryDestination { $type = 'telemetry_destination_deleted'; $id; }
"telemetry_destination_deleted" type
string id

ID of the deleted destination (tdst_...).

Eliminar un destino de telemetría
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;

$client = new Client(apiKey: 'my-anthropic-api-key');

$betaDeletedTelemetryDestination = $client
  ->beta
  ->organization
  ->telemetryDestinations
  ->delete(
  'destination_id', betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24]
);

var_dump($betaDeletedTelemetryDestination);
Returns Examples
Response 200
{
  "id": "id",
  "type": "telemetry_destination_deleted"
}