Skip to content

Commit c3c499a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit fa025c5 of spec repo
1 parent b82c044 commit c3c499a

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
@@ -27320,7 +27320,10 @@ paths:
2732027320
- IP Ranges
2732127321
/api/v1/api_key:
2732227322
get:
27323-
description: Get all API keys available for your account.
27323+
description: |-
27324+
Get all API keys available for your account.
27325+
27326+
**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.
2732427327
operationId: ListAPIKeys
2732527328
responses:
2732627329
"200":
@@ -27353,7 +27356,10 @@ paths:
2735327356
permissions:
2735427357
- api_keys_read
2735527358
post:
27356-
description: Creates an API key with a given name.
27359+
description: |-
27360+
Creates an API key with a given name.
27361+
27362+
**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.
2735727363
operationId: CreateAPIKey
2735827364
requestBody:
2735927365
content:
@@ -27404,7 +27410,10 @@ paths:
2740427410
- api_keys_write
2740527411
/api/v1/api_key/{key}:
2740627412
delete:
27407-
description: Delete a given API key.
27413+
description: |-
27414+
Delete a given API key.
27415+
27416+
**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.
2740827417
operationId: DeleteAPIKey
2740927418
parameters:
2741027419
- description: The specific API key you are working with.
@@ -27456,7 +27465,10 @@ paths:
2745627465
permissions:
2745727466
- api_keys_delete
2745827467
get:
27459-
description: Get a given API key.
27468+
description: |-
27469+
Get a given API key.
27470+
27471+
**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.
2746027472
operationId: GetAPIKey
2746127473
parameters:
2746227474
- description: The specific API key you are working with.
@@ -27502,7 +27514,10 @@ paths:
2750227514
permissions:
2750327515
- api_keys_read
2750427516
put:
27505-
description: Edit an API key name.
27517+
description: |-
27518+
Edit an API key name.
27519+
27520+
**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.
2750627521
operationId: UpdateAPIKey
2750727522
parameters:
2750827523
- description: The specific API key you are working with.
@@ -27569,6 +27584,8 @@ paths:
2756927584
description: |-
2757027585
Get all application keys available for your Datadog account.
2757127586
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27587+
27588+
**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.
2757227589
operationId: ListApplicationKeys
2757327590
responses:
2757427591
"200":
@@ -27604,6 +27621,8 @@ paths:
2760427621
description: |-
2760527622
Create an application key with a given name.
2760627623
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27624+
27625+
**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.
2760727626
operationId: CreateApplicationKey
2760827627
requestBody:
2760927628
content:
@@ -27662,6 +27681,8 @@ paths:
2766227681
description: |-
2766327682
Delete a given application key.
2766427683
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27684+
27685+
**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.
2766527686
operationId: DeleteApplicationKey
2766627687
parameters:
2766727688
- description: The specific APP key you are working with.
@@ -27710,6 +27731,8 @@ paths:
2771027731
description: |-
2771127732
Get a given application key.
2771227733
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27734+
27735+
**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.
2771327736
operationId: GetApplicationKey
2771427737
parameters:
2771527738
- description: The specific APP key you are working with.
@@ -27758,6 +27781,8 @@ paths:
2775827781
description: |-
2775927782
Edit an application key name.
2776027783
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27784+
27785+
**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.
2776127786
operationId: UpdateApplicationKey
2776227787
parameters:
2776327788
- 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)