Skip to content

Commit ab5630a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 38754ea of spec repo (#3625)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4b4284a commit ab5630a

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34701,7 +34701,7 @@ paths:
3470134701
description: |-
3470234702
Validate the monitor provided in the request.
3470334703

34704-
**Note**: Log monitors require an unscoped App Key.
34704+
**Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
3470534705
operationId: ValidateMonitor
3470634706
requestBody:
3470734707
content:
@@ -35061,7 +35061,10 @@ paths:
3506135061
- monitors_read
3506235062
/api/v1/monitor/{monitor_id}/validate:
3506335063
post:
35064-
description: Validate the monitor provided in the request.
35064+
description: |-
35065+
Validate the monitor provided in the request.
35066+
35067+
**Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
3506535068
operationId: ValidateExistingMonitor
3506635069
parameters:
3506735070
- description: The ID of the monitor

src/datadog_api_client/v1/api/monitors_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,8 @@ def validate_existing_monitor(
952952
953953
Validate the monitor provided in the request.
954954
955+
**Note** : Log monitors require an unscoped App Key and ``logs_read_data`` permission.
956+
955957
:param monitor_id: The ID of the monitor
956958
:type monitor_id: int
957959
:param body: Monitor request object
@@ -973,7 +975,7 @@ def validate_monitor(
973975
974976
Validate the monitor provided in the request.
975977
976-
**Note** : Log monitors require an unscoped App Key.
978+
**Note** : Log monitors require an unscoped App Key and ``logs_read_data`` permission.
977979
978980
:param body: Monitor request object
979981
:type body: Monitor

0 commit comments

Comments
 (0)