Claude Platform Docs

Elimina una destinazione di telemetria

$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 una destinazione e il relativo elenco di workspace.

L'API smette di inviare span alla destinazione. Gli span dei workspace che copriva continuano ad andare alle altre destinazioni che li coprono. Una destinazione eliminata non può essere letta, elencata o ripristinata.

Consulta la guida all'esportazione OpenTelemetry per saperne di più sulla gestione di una destinazione.

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_...).

Elimina una destinazione di telemetria
<?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"
}