v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBMetrics
Create a tag indexing rule exemption
Exempt a metric from all tag indexing rules. The response includes the created exemption resource. Requires the Manage Tags for Metrics permission.
post/api/v2/metrics/{metric_name}/tag-indexing-rule-exemptions
Path parameters
metric_namestring required
The name of the metric.
Request body
Example request
{
"data": {
"attributes": {
"reason": "This metric has a pre-existing tag configuration."
},
"type": "tag_indexing_rule_exemptions"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"created_at": "2024-01-15T12:00:00.000Z",
"created_by_handle": "user@datadoghq.com",
"kind": "exemption",
"reason": "This metric has a pre-existing tag configuration."
},
"id": "dd.test.metric",
"type": "tag_indexing_rule_exemptions"
}
}