Skip to content

Commit a12dfa4

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

2 files changed

Lines changed: 50 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/datadog_api_client/v1/api/key_management_api.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ def create_api_key(
255255
256256
Creates an API key with a given name.
257257
258+
**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.
259+
258260
:type body: ApiKey
259261
:rtype: ApiKeyResponse
260262
"""
@@ -272,6 +274,8 @@ def create_application_key(
272274
Create an application key with a given name.
273275
This endpoint is disabled for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.
274276
277+
**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.
278+
275279
:type body: ApplicationKey
276280
:rtype: ApplicationKeyResponse
277281
"""
@@ -288,6 +292,8 @@ def delete_api_key(
288292
289293
Delete a given API key.
290294
295+
**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.
296+
291297
:param key: The specific API key you are working with.
292298
:type key: str
293299
:rtype: ApiKeyResponse
@@ -306,6 +312,8 @@ def delete_application_key(
306312
Delete a given application key.
307313
This endpoint is disabled for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.
308314
315+
**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.
316+
309317
:param key: The specific APP key you are working with.
310318
:type key: str
311319
:rtype: ApplicationKeyResponse
@@ -323,6 +331,8 @@ def get_api_key(
323331
324332
Get a given API key.
325333
334+
**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.
335+
326336
:param key: The specific API key you are working with.
327337
:type key: str
328338
:rtype: ApiKeyResponse
@@ -341,6 +351,8 @@ def get_application_key(
341351
Get a given application key.
342352
This endpoint is disabled for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.
343353
354+
**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.
355+
344356
:param key: The specific APP key you are working with.
345357
:type key: str
346358
:rtype: ApplicationKeyResponse
@@ -357,6 +369,8 @@ def list_api_keys(
357369
358370
Get all API keys available for your account.
359371
372+
**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.
373+
360374
:rtype: ApiKeyListResponse
361375
"""
362376
kwargs: Dict[str, Any] = {}
@@ -370,6 +384,8 @@ def list_application_keys(
370384
Get all application keys available for your Datadog account.
371385
This endpoint is disabled for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.
372386
387+
**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.
388+
373389
:rtype: ApplicationKeyListResponse
374390
"""
375391
kwargs: Dict[str, Any] = {}
@@ -384,6 +400,8 @@ def update_api_key(
384400
385401
Edit an API key name.
386402
403+
**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.
404+
387405
:param key: The specific API key you are working with.
388406
:type key: str
389407
:type body: ApiKey
@@ -406,6 +424,8 @@ def update_application_key(
406424
Edit an application key name.
407425
This endpoint is disabled for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.
408426
427+
**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.
428+
409429
:param key: The specific APP key you are working with.
410430
:type key: str
411431
:type body: ApplicationKey

0 commit comments

Comments
 (0)