Skip to content

Commit 81796b3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Edit update-a-tag-configuration API docs (#1801)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent e63972a commit 81796b3

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-12-14 17:13:00.567226",
8-
"spec_repo_commit": "fd0b0fcb"
7+
"regenerated": "2023-12-14 19:38:24.188378",
8+
"spec_repo_commit": "cdc82e06"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-12-14 17:13:00.585680",
13-
"spec_repo_commit": "fd0b0fcb"
12+
"regenerated": "2023-12-14 19:38:24.201899",
13+
"spec_repo_commit": "cdc82e06"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25603,7 +25603,9 @@ paths:
2560325603
queryable.
2560425604

2560525605
Can only be used with application keys from users with the `Manage Tags for
25606-
Metrics` permission.'
25606+
Metrics` permission. This endpoint requires
25607+
25608+
a tag configuration to be created first.'
2560725609
operationId: UpdateTagConfiguration
2560825610
parameters:
2560925611
- $ref: '#/components/parameters/MetricName'

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ def update_tag_configuration(
792792
Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
793793
of a count, rate, or gauge metric. By setting ``exclude_tags_mode`` to true the behavior is changed
794794
from an allow-list to a deny-list, and tags in the defined list will not be queryable.
795-
Can only be used with application keys from users with the ``Manage Tags for Metrics`` permission.
795+
Can only be used with application keys from users with the ``Manage Tags for Metrics`` permission. This endpoint requires
796+
a tag configuration to be created first.
796797
797798
:param metric_name: The name of the metric.
798799
:type metric_name: str

0 commit comments

Comments
 (0)