Claude Platform Docs

텔레메트리 대상 워크스페이스 제거

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

대상의 워크스페이스 목록에서 워크스페이스 하나를 제거합니다.

include에서는 해당 워크스페이스의 스팬이 대상으로 전송되지 않게 됩니다. exclude에서는 전송이 시작됩니다. 보관된 워크스페이스도 제거할 수 있습니다.

워크스페이스가 목록에 없으면 API가 404를 반환합니다. workspaces.type이 all인 대상에는 목록이 없으므로 API가 400을 반환합니다.

대상의 워크스페이스 선택에 대한 자세한 내용은 OpenTelemetry 내보내기 가이드를 참조하세요.

Parameters
destinationID: string⁠Path parameter

ID of the destination (tdst_...).

workspaceID: string⁠Path parameter

ID of the workspace to remove (wrkspc_...).

betas?: optional list<AnthropicBeta>⁠Header parameter

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

Returns
class BetaDeletedTelemetryDestinationWorkspace { $type = 'telemetry_destination_workspace_deleted'; $telemetryDestinationID; $workspaceID; }
"telemetry_destination_workspace_deleted" type
string telemetryDestinationID

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

string workspaceID

ID of the workspace that was removed (wrkspc_...).

텔레메트리 대상 워크스페이스 제거
<?php

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

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

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

$betaDeletedTelemetryDestinationWorkspace = $client
  ->beta
  ->organization
  ->telemetryDestinations
  ->workspaces
  ->remove(
  'workspace_id',
  destinationID: 'destination_id',
  betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24],
);

var_dump($betaDeletedTelemetryDestinationWorkspace);
Returns Examples
Response 200
{
  "telemetry_destination_id": "telemetry_destination_id",
  "type": "telemetry_destination_workspace_deleted",
  "workspace_id": "workspace_id"
}