Experiments
Delete metric
Delete a metric. Certified metrics are read-only through this endpoint. The record is soft-deleted and stops appearing in reads. A metric still referenced by an experiment cannot be deleted; detach it from those experiments first.
delete/api/v2/experiments/metrics/{metric_id}
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesproduct_analytics_metrics_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
metric_idstring uuid required
The UUID of the metric.
Example:550e8400-e29b-41d4-a716-446655440000
Response
The metric was deleted.
Changes
Changes to this operation have not been checked yet.