Update Export Destination
Update the fields you send. Send credential_secret to rotate the
secret. kind and otlp_preset can’t change.
Authentication
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
The destination’s id.
Request
Replaces the stored secret. The API key or token the destination authenticates with. Never returned; responses show credential_hint instead. Omit to keep the current value. null is rejected.
grafana only: the Grafana Cloud instance ID. Not a secret, so it is returned. null clears it, where the preset doesn’t need it.
Datadog only: the ml_app tag on exported spans. null clears it.
generic only: the https URL of your OTLP collector. Omit to keep the current value. null is rejected.
datadog: a Datadog site, like datadoghq.com. grafana: a Grafana Cloud zone, like prod-us-east-0. generic: not allowed; use otlp_endpoint. Omit to keep the current value. null is rejected.
Response
The last 4 characters of the stored secret, to tell secrets apart. null when the secret is under 12 characters (4 would give away too much of it).
grafana only: the Grafana Cloud instance ID. Not a secret, so it is returned.
Datadog only: the ml_app tag on exported spans.
generic only: the https URL of your OTLP collector.
Where spans go. Besides the presets create accepts, datadog-apm: those destinations are created in the dashboard only. Can’t be changed after creation.
datadog: a Datadog site, like datadoghq.com. grafana: a Grafana Cloud zone, like prod-us-east-0. generic: not allowed; use otlp_endpoint.