Skip to content

Commit 6fba172

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 4ac086a of spec repo (#3911)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 70f16d7 commit 6fba172

2 files changed

Lines changed: 70 additions & 5 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27600,7 +27600,10 @@ paths:
2760027600
- IP Ranges
2760127601
/api/v1/api_key:
2760227602
get:
27603-
description: Get all API keys available for your account.
27603+
description: |-
27604+
Get all API keys available for your account.
27605+
27606+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2760427607
operationId: ListAPIKeys
2760527608
responses:
2760627609
"200":
@@ -27633,7 +27636,10 @@ paths:
2763327636
permissions:
2763427637
- api_keys_read
2763527638
post:
27636-
description: Creates an API key with a given name.
27639+
description: |-
27640+
Creates an API key with a given name.
27641+
27642+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2763727643
operationId: CreateAPIKey
2763827644
requestBody:
2763927645
content:
@@ -27684,7 +27690,10 @@ paths:
2768427690
- api_keys_write
2768527691
/api/v1/api_key/{key}:
2768627692
delete:
27687-
description: Delete a given API key.
27693+
description: |-
27694+
Delete a given API key.
27695+
27696+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2768827697
operationId: DeleteAPIKey
2768927698
parameters:
2769027699
- description: The specific API key you are working with.
@@ -27736,7 +27745,10 @@ paths:
2773627745
permissions:
2773727746
- api_keys_delete
2773827747
get:
27739-
description: Get a given API key.
27748+
description: |-
27749+
Get a given API key.
27750+
27751+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2774027752
operationId: GetAPIKey
2774127753
parameters:
2774227754
- description: The specific API key you are working with.
@@ -27782,7 +27794,10 @@ paths:
2778227794
permissions:
2778327795
- api_keys_read
2778427796
put:
27785-
description: Edit an API key name.
27797+
description: |-
27798+
Edit an API key name.
27799+
27800+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2778627801
operationId: UpdateAPIKey
2778727802
parameters:
2778827803
- description: The specific API key you are working with.
@@ -27849,6 +27864,8 @@ paths:
2784927864
description: |-
2785027865
Get all application keys available for your Datadog account.
2785127866
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27867+
27868+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2785227869
operationId: ListApplicationKeys
2785327870
responses:
2785427871
"200":
@@ -27884,6 +27901,8 @@ paths:
2788427901
description: |-
2788527902
Create an application key with a given name.
2788627903
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27904+
27905+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2788727906
operationId: CreateApplicationKey
2788827907
requestBody:
2788927908
content:
@@ -27942,6 +27961,8 @@ paths:
2794227961
description: |-
2794327962
Delete a given application key.
2794427963
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27964+
27965+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2794527966
operationId: DeleteApplicationKey
2794627967
parameters:
2794727968
- description: The specific APP key you are working with.
@@ -27990,6 +28011,8 @@ paths:
2799028011
description: |-
2799128012
Get a given application key.
2799228013
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
28014+
28015+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2799328016
operationId: GetApplicationKey
2799428017
parameters:
2799528018
- description: The specific APP key you are working with.
@@ -28038,6 +28061,8 @@ paths:
2803828061
description: |-
2803928062
Edit an application key name.
2804028063
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
28064+
28065+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2804128066
operationId: UpdateApplicationKey
2804228067
parameters:
2804328068
- description: The specific APP key you are working with.

src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ public CompletableFuture<ApiKeyResponse> createAPIKeyAsync(ApiKey body) {
8080
/**
8181
* Creates an API key with a given name.
8282
*
83+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
84+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
85+
* Management</a> endpoints instead.
86+
*
8387
* @param body (required)
8488
* @return ApiResponse&lt;ApiKeyResponse&gt;
8589
* @throws ApiException if fails to make API call
@@ -210,6 +214,10 @@ public CompletableFuture<ApplicationKeyResponse> createApplicationKeyAsync(Appli
210214
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
211215
* Read mode</a>.
212216
*
217+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
218+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
219+
* Management</a> endpoints instead.
220+
*
213221
* @param body (required)
214222
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
215223
* @throws ApiException if fails to make API call
@@ -342,6 +350,10 @@ public CompletableFuture<ApiKeyResponse> deleteAPIKeyAsync(String key) {
342350
/**
343351
* Delete a given API key.
344352
*
353+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
354+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
355+
* Management</a> endpoints instead.
356+
*
345357
* @param key The specific API key you are working with. (required)
346358
* @return ApiResponse&lt;ApiKeyResponse&gt;
347359
* @throws ApiException if fails to make API call
@@ -476,6 +488,10 @@ public CompletableFuture<ApplicationKeyResponse> deleteApplicationKeyAsync(Strin
476488
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
477489
* Read mode</a>.
478490
*
491+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
492+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
493+
* Management</a> endpoints instead.
494+
*
479495
* @param key The specific APP key you are working with. (required)
480496
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
481497
* @throws ApiException if fails to make API call
@@ -611,6 +627,10 @@ public CompletableFuture<ApiKeyResponse> getAPIKeyAsync(String key) {
611627
/**
612628
* Get a given API key.
613629
*
630+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
631+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
632+
* Management</a> endpoints instead.
633+
*
614634
* @param key The specific API key you are working with. (required)
615635
* @return ApiResponse&lt;ApiKeyResponse&gt;
616636
* @throws ApiException if fails to make API call
@@ -744,6 +764,10 @@ public CompletableFuture<ApplicationKeyResponse> getApplicationKeyAsync(String k
744764
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
745765
* Read mode</a>.
746766
*
767+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
768+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
769+
* Management</a> endpoints instead.
770+
*
747771
* @param key The specific APP key you are working with. (required)
748772
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
749773
* @throws ApiException if fails to make API call
@@ -877,6 +901,10 @@ public CompletableFuture<ApiKeyListResponse> listAPIKeysAsync() {
877901
/**
878902
* Get all API keys available for your account.
879903
*
904+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
905+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
906+
* Management</a> endpoints instead.
907+
*
880908
* @return ApiResponse&lt;ApiKeyListResponse&gt;
881909
* @throws ApiException if fails to make API call
882910
* @http.response.details
@@ -989,6 +1017,10 @@ public CompletableFuture<ApplicationKeyListResponse> listApplicationKeysAsync()
9891017
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
9901018
* Read mode</a>.
9911019
*
1020+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
1021+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
1022+
* Management</a> endpoints instead.
1023+
*
9921024
* @return ApiResponse&lt;ApplicationKeyListResponse&gt;
9931025
* @throws ApiException if fails to make API call
9941026
* @http.response.details
@@ -1104,6 +1136,10 @@ public CompletableFuture<ApiKeyResponse> updateAPIKeyAsync(String key, ApiKey bo
11041136
/**
11051137
* Edit an API key name.
11061138
*
1139+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
1140+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
1141+
* Management</a> endpoints instead.
1142+
*
11071143
* @param key The specific API key you are working with. (required)
11081144
* @param body (required)
11091145
* @return ApiResponse&lt;ApiKeyResponse&gt;
@@ -1260,6 +1296,10 @@ public CompletableFuture<ApplicationKeyResponse> updateApplicationKeyAsync(
12601296
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
12611297
* Read mode</a>.
12621298
*
1299+
* <p><strong>Note</strong>: This endpoint is disabled for the Government sites (US1-FED and
1300+
* US2-FED). Use the <a href="https://docs.datadoghq.com/api/latest/key-management/">V2 Key
1301+
* Management</a> endpoints instead.
1302+
*
12631303
* @param key The specific APP key you are working with. (required)
12641304
* @param body (required)
12651305
* @return ApiResponse&lt;ApplicationKeyResponse&gt;

0 commit comments

Comments
 (0)