Rimuovi un workspace dalla destinazione di telemetria
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Rimuovi un workspace dall'elenco dei workspace di una destinazione.
Con include gli span del workspace smettono di essere inviati alla destinazione. Con exclude iniziano a esserlo. È possibile rimuovere anche un workspace archiviato.
L'API restituisce 404 quando il workspace non è presente nell'elenco. Una destinazione il cui workspaces.type è all non ha un elenco, quindi l'API restituisce 400.
Consulta la guida all'esportazione OpenTelemetry per saperne di più sulla scelta dei workspace di una destinazione.
Parameters
Returns
Rimuovi un workspace dalla destinazione di telemetria
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_deleted_telemetry_destination_workspace = anthropic.beta.organization.telemetry_destinations.workspaces.remove(
"workspace_id",
destination_id: "destination_id"
)
puts(beta_deleted_telemetry_destination_workspace)Response 200
{
"telemetry_destination_id": "telemetry_destination_id",
"type": "telemetry_destination_workspace_deleted",
"workspace_id": "workspace_id"
}Returns Examples
Response 200
{
"telemetry_destination_id": "telemetry_destination_id",
"type": "telemetry_destination_workspace_deleted",
"workspace_id": "workspace_id"
}