Skip to content

Commit f451285

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove reference to locked (#1787)
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 8757082 commit f451285

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": "2024-08-27 12:12:32.595463",
8-
"spec_repo_commit": "09daef2e"
7+
"regenerated": "2024-08-28 20:30:20.673939",
8+
"spec_repo_commit": "6b2f00dd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-27 12:12:32.613577",
13-
"spec_repo_commit": "09daef2e"
12+
"regenerated": "2024-08-28 20:30:20.692149",
13+
"spec_repo_commit": "6b2f00dd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class Monitor {
6969
*/
7070
"query": string;
7171
/**
72-
* 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).
72+
* 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.
7373
*/
7474
"restrictedRoles"?: Array<string>;
7575
/**

0 commit comments

Comments
 (0)