diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f3d3ffaa56b..b87d6929e9e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55330,11 +55330,13 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] - - AuthZ: - - cloud_cost_management_write summary: Create or update a budget tags: - Cloud Cost Management + x-permission: + operator: OR + permissions: + - cloud_cost_management_write /api/v2/cost/budget/{budget_id}: delete: description: Delete a budget. @@ -55398,11 +55400,13 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] - - AuthZ: - - cloud_cost_management_read summary: List budgets tags: - Cloud Cost Management + x-permission: + operator: OR + permissions: + - cloud_cost_management_read /api/v2/cost/custom_costs: get: description: List the Custom Costs files. diff --git a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java index 616af9916a7..7f68c9bc52d 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java @@ -2815,7 +2815,7 @@ public ApiResponse listBudgetsWithHttpInfo() throws ApiException { localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "GET", builder, @@ -2851,7 +2851,7 @@ public CompletableFuture> listBudgetsWithHttpInfoAsync( localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); @@ -4819,7 +4819,7 @@ public ApiResponse upsertBudgetWithHttpInfo(BudgetWithEntries localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "PUT", builder, @@ -4865,7 +4865,7 @@ public CompletableFuture> upsertBudgetWithHttpInf localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex);