Skip to content

Commit d7664f2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove reference to locked, add restriction policies reference (#2017)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 97f4ca0 commit d7664f2

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
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": "2025-01-23 21:37:39.906026",
8-
"spec_repo_commit": "ff83ed06"
7+
"regenerated": "2025-01-23 22:24:31.833954",
8+
"spec_repo_commit": "6a31fa8c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-23 21:37:39.920984",
13-
"spec_repo_commit": "ff83ed06"
12+
"regenerated": "2025-01-23 22:24:31.849626",
13+
"spec_repo_commit": "6a31fa8c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7898,9 +7898,10 @@ components:
78987898
be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles)
78997899
and are located in the `data.id` field. Editing a monitor includes any
79007900
updates to the monitor configuration, monitor deletion, and muting of
7901-
the monitor for any amount of time. `restricted_roles` is the successor
7902-
of `locked`. For more information about `locked` and `restricted_roles`,
7903-
see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
7901+
the monitor for any amount of time. You can use the [Restriction Policies
7902+
API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage
7903+
write authorization for individual monitors by teams and users, in addition
7904+
to roles.
79047905
items:
79057906
description: A role UUID.
79067907
type: string

packages/datadog-api-client-v1/models/MonitorUpdateRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class MonitorUpdateRequest {
6464
*/
6565
"query"?: string;
6666
/**
67-
* A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. `restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`, see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
67+
* A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. You can use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage write authorization for individual monitors by teams and users, in addition to roles.
6868
*/
6969
"restrictedRoles"?: Array<string>;
7070
/**

0 commit comments

Comments
 (0)