텔레메트리 대상 삭제
DELETE/v1/organizations/telemetry_destinations/{destination_id}
대상과 해당 워크스페이스 목록을 삭제합니다.
API는 해당 대상으로 스팬 전송을 중지합니다. 이 대상이 포함하던 워크스페이스의 스팬은 해당 워크스페이스를 포함하는 다른 대상으로 계속 전송됩니다. 삭제된 대상은 읽거나, 목록에 표시하거나, 복원할 수 없습니다.
대상 관리에 대한 자세한 내용은 OpenTelemetry 내보내기 가이드를 참조하세요.
Parameters
Returns
텔레메트리 대상 삭제
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go"
"github.com/anthropics/anthropic-sdk-go/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
betaDeletedTelemetryDestination, err := client.Beta.Organization.TelemetryDestinations.Delete(
context.TODO(),
"destination_id",
anthropic.BetaOrganizationTelemetryDestinationDeleteParams{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", betaDeletedTelemetryDestination.ID)
}Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "telemetry_destination_deleted"
}