File tree Expand file tree Collapse file tree
src/datadog_api_client/v2/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198543,18 +198543,9 @@ paths:
198543198543 description: |-
198544198544 Create a new role for your organization.
198545198545
198546- The following read permissions are automatically added to every new role, even if they are not included in the request:
198547-
198548- - Dashboards Read
198549- - Notebooks Read
198550- - Monitors Read
198551- - APM Read
198552- - Vulnerability Management Read
198553- - RUM Apps Read
198554- - Incidents Read
198555- - SLOs Read
198556- - CI Visibility Read
198557- - CD Visibility Read
198546+ [Restricted permissions](https://docs.datadoghq.com/account_management/rbac/permissions/#restricted-permissions),
198547+ such as Dashboards Read and Monitors Read, are added to every new role by default, even if they are omitted from
198548+ the request. To exclude them, set `default_permissions_opt_out` to `true`.
198558198549 operationId: CreateRole
198559198550 requestBody:
198560198551 content:
@@ -198719,6 +198710,10 @@ paths:
198719198710 patch:
198720198711 description: |-
198721198712 Edit a role. Can only be used with application keys belonging to administrators.
198713+
198714+ [Restricted permissions](https://docs.datadoghq.com/account_management/rbac/permissions/#restricted-permissions),
198715+ such as Dashboards Read and Monitors Read, remain on the role by default, even if they are omitted from
198716+ the request. To exclude them, set `default_permissions_opt_out` to `true`.
198722198717 operationId: UpdateRole
198723198718 parameters:
198724198719 - $ref: "#/components/parameters/RoleID"
Original file line number Diff line number Diff line change @@ -485,18 +485,9 @@ def create_role(
485485
486486 Create a new role for your organization.
487487
488- The following read permissions are automatically added to every new role, even if they are not included in the request:
489-
490- * Dashboards Read
491- * Notebooks Read
492- * Monitors Read
493- * APM Read
494- * Vulnerability Management Read
495- * RUM Apps Read
496- * Incidents Read
497- * SLOs Read
498- * CI Visibility Read
499- * CD Visibility Read
488+ `Restricted permissions <https://docs.datadoghq.com/account_management/rbac/permissions/#restricted-permissions>`_ ,
489+ such as Dashboards Read and Monitors Read, are added to every new role by default, even if they are omitted from
490+ the request. To exclude them, set ``default_permissions_opt_out`` to ``true``.
500491
501492 :type body: RoleCreateRequest
502493 :rtype: RoleCreateResponse
@@ -732,6 +723,10 @@ def update_role(
732723
733724 Edit a role. Can only be used with application keys belonging to administrators.
734725
726+ `Restricted permissions <https://docs.datadoghq.com/account_management/rbac/permissions/#restricted-permissions>`_ ,
727+ such as Dashboards Read and Monitors Read, remain on the role by default, even if they are omitted from
728+ the request. To exclude them, set ``default_permissions_opt_out`` to ``true``.
729+
735730 :param role_id: The unique identifier of the role.
736731 :type role_id: str
737732 :type body: RoleUpdateRequest
You can’t perform that action at this time.
0 commit comments