Skip to content

Commit e390ba0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[dashboards] Unmark restricted_roles as deprecated (#1976)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e45a82b commit e390ba0

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-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-06 19:03:11.356485",
8-
"spec_repo_commit": "b56ea2d7"
7+
"regenerated": "2025-01-07 19:53:42.897987",
8+
"spec_repo_commit": "d63fa330"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-06 19:03:11.371812",
13-
"spec_repo_commit": "b56ea2d7"
12+
"regenerated": "2025-01-07 19:53:42.913387",
13+
"spec_repo_commit": "d63fa330"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,13 +1209,8 @@ components:
12091209
reflow_type:
12101210
$ref: '#/components/schemas/DashboardReflowType'
12111211
restricted_roles:
1212-
deprecated: true
1213-
description: 'A list of role identifiers. Only the author and users associated
1212+
description: A list of role identifiers. Only the author and users associated
12141213
with at least one of these roles can edit this dashboard.
1215-
1216-
1217-
This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/)
1218-
instead to manage write authorization for individual dashboards.'
12191214
items:
12201215
description: A role UUID.
12211216
type: string

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ export class Dashboard {
6262
"reflowType"?: DashboardReflowType;
6363
/**
6464
* A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
65-
*
66-
* This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
6765
*/
6866
"restrictedRoles"?: Array<string>;
6967
/**

0 commit comments

Comments
 (0)