Skip to content

Commit 19a4ae4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Remove reference to locked, add restriction policies reference (#27257)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ef6526d commit 19a4ae4

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
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:39:08.189596",
8-
"spec_repo_commit": "ff83ed06"
7+
"regenerated": "2025-01-23 22:26:34.234762",
8+
"spec_repo_commit": "6a31fa8c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-23 21:39:16.149181",
13-
"spec_repo_commit": "ff83ed06"
12+
"regenerated": "2025-01-23 22:26:42.184854",
13+
"spec_repo_commit": "6a31fa8c"
1414
}
1515
}
1616
}

content/en/api/v1/monitors/examples.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/api/v1/full_spec.yaml

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

data/api/v1/full_spec_deref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152749,7 +152749,7 @@
152749152749
"type": "string"
152750152750
},
152751152751
"restricted_roles": {
152752-
"description": "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).",
152752+
"description": "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.",
152753152753
"items": {
152754152754
"description": "A role UUID.",
152755152755
"type": "string"
@@ -979493,7 +979493,7 @@
979493979493
"type": "string"
979494979494
},
979495979495
"restricted_roles": {
979496-
"description": "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).",
979496+
"description": "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.",
979497979497
"items": {
979498979498
"description": "A role UUID.",
979499979499
"type": "string"

static/resources/json/full_spec_v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152749,7 +152749,7 @@
152749152749
"type": "string"
152750152750
},
152751152751
"restricted_roles": {
152752-
"description": "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).",
152752+
"description": "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.",
152753152753
"items": {
152754152754
"description": "A role UUID.",
152755152755
"type": "string"
@@ -979493,7 +979493,7 @@
979493979493
"type": "string"
979494979494
},
979495979495
"restricted_roles": {
979496-
"description": "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).",
979496+
"description": "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.",
979497979497
"items": {
979498979498
"description": "A role UUID.",
979499979499
"type": "string"

0 commit comments

Comments
 (0)