Skip to content

Commit 6b9db6e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[ACCESSINT-636] Remove integration-account from restriction policy API supported resources (#2567)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent fe47a89 commit 6b9db6e

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "0fe80dc",
3-
"generated": "2025-07-28 18:48:10.409"
2+
"spec_repo_commit": "df31e44",
3+
"generated": "2025-07-28 19:54:26.502"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,10 @@ components:
763763
schema:
764764
type: string
765765
ResourceID:
766-
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
767-
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
768-
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
769-
`connection`, `connection-group`, `rum-application`, `cross-org-connection`,
770-
`spreadsheet`.'
766+
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
767+
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
768+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
769+
`rum-application`, `cross-org-connection`, `spreadsheet`.'
771770
example: dashboard:abc-def-ghi
772771
in: path
773772
name: resource_id
@@ -57515,8 +57514,6 @@ paths:
5751557514

5751657515
- Dashboards: `dashboard`
5751757516

57518-
- Integration Accounts: `integration-account`
57519-
5752057517
- Integration Services: `integration-service`
5752157518

5752257519
- Integration Webhooks: `integration-webhook`
@@ -57562,8 +57559,6 @@ paths:
5756257559

5756357560
Dashboards | `viewer`, `editor`
5756457561

57565-
Integration Accounts | `viewer`, `editor`
57566-
5756757562
Integration Services | `viewer`, `editor`
5756857563

5756957564
Integration Webhooks | `viewer`, `editor`

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535
#
3636
# Deletes the restriction policy associated with a specified resource.
3737
#
38-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
3939
# @param opts [Hash] the optional parameters
4040
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141
def delete_restriction_policy_with_http_info(resource_id, opts = {})
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100
#
101101
# Retrieves the restriction policy associated with a specified resource.
102102
#
103-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
104104
# @param opts [Hash] the optional parameters
105105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106
def get_restriction_policy_with_http_info(resource_id, opts = {})
@@ -168,7 +168,6 @@ def update_restriction_policy(resource_id, body, opts = {})
168168
# #### Supported resources
169169
# Restriction policies can be applied to the following resources:
170170
# - Dashboards: `dashboard`
171-
# - Integration Accounts: `integration-account`
172171
# - Integration Services: `integration-service`
173172
# - Integration Webhooks: `integration-webhook`
174173
# - Notebooks: `notebook`
@@ -192,7 +191,6 @@ def update_restriction_policy(resource_id, body, opts = {})
192191
# Resource Type | Supported Relations
193192
# ----------------------------|--------------------------
194193
# Dashboards | `viewer`, `editor`
195-
# Integration Accounts | `viewer`, `editor`
196194
# Integration Services | `viewer`, `editor`
197195
# Integration Webhooks | `viewer`, `editor`
198196
# Notebooks | `viewer`, `editor`
@@ -212,7 +210,7 @@ def update_restriction_policy(resource_id, body, opts = {})
212210
# Cross Org Connections | `viewer`, `editor`
213211
# Spreadsheets | `viewer`, `editor`
214212
#
215-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
213+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
216214
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
217215
# @param opts [Hash] the optional parameters
218216
# @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.

0 commit comments

Comments
 (0)