diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c2aa6fb6864f..5638f0c0dfaf 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -168771,7 +168771,21 @@ paths: permissions: - user_access_read post: - description: Create a new role for your organization. + description: |- + Create a new role for your organization. + + The following read permissions are automatically added to every new role, even if they are not included in the request: + + - Dashboards Read + - Notebooks Read + - Monitors Read + - APM Read + - Vulnerability Management Read + - RUM Apps Read + - Incidents Read + - SLOs Read + - CI Visibility Read + - CD Visibility Read operationId: CreateRole requestBody: content: diff --git a/lib/datadog_api_client/v2/api/roles_api.rb b/lib/datadog_api_client/v2/api/roles_api.rb index d0e0d8e4c65b..fcd968b9cdab 100644 --- a/lib/datadog_api_client/v2/api/roles_api.rb +++ b/lib/datadog_api_client/v2/api/roles_api.rb @@ -251,6 +251,19 @@ def create_role(body, opts = {}) # # Create a new role for your organization. # + # The following read permissions are automatically added to every new role, even if they are not included in the request: + # + # - Dashboards Read + # - Notebooks Read + # - Monitors Read + # - APM Read + # - Vulnerability Management Read + # - RUM Apps Read + # - Incidents Read + # - SLOs Read + # - CI Visibility Read + # - CD Visibility Read + # # @param body [RoleCreateRequest] # @param opts [Hash] the optional parameters # @return [Array<(RoleCreateResponse, Integer, Hash)>] RoleCreateResponse data, response status code and response headers