Skip to content

Commit d958d62

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

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

lib/datadog_api_client/v1/api/monitors_api.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ def validate_existing_monitor(monitor_id, body, opts = {})
849849
#
850850
# Validate the monitor provided in the request.
851851
#
852+
# **Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
853+
#
852854
# @param monitor_id [Integer] The ID of the monitor
853855
# @param body [Monitor] Monitor request object
854856
# @param opts [Hash] the optional parameters
@@ -921,7 +923,7 @@ def validate_monitor(body, opts = {})
921923
#
922924
# Validate the monitor provided in the request.
923925
#
924-
# **Note**: Log monitors require an unscoped App Key.
926+
# **Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
925927
#
926928
# @param body [Monitor] Monitor request object
927929
# @param opts [Hash] the optional parameters

0 commit comments

Comments
 (0)