From 85edfa482b15225a6db772909f1723ac06e312d4 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 29 May 2026 14:58:03 +0000 Subject: [PATCH] Regenerate client from commit 4ac086a of spec repo --- .generator/schemas/v1/openapi.yaml | 35 ++++++++++++++++--- .../v1/api/key_management_api.py | 20 +++++++++++ 2 files changed, 50 insertions(+), 5 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 3a4885916a..d58e01cad0 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -27600,7 +27600,10 @@ paths: - IP Ranges /api/v1/api_key: get: - description: Get all API keys available for your account. + description: |- + Get all API keys available for your account. + + **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. operationId: ListAPIKeys responses: "200": @@ -27633,7 +27636,10 @@ paths: permissions: - api_keys_read post: - description: Creates an API key with a given name. + description: |- + Creates an API key with a given name. + + **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. operationId: CreateAPIKey requestBody: content: @@ -27684,7 +27690,10 @@ paths: - api_keys_write /api/v1/api_key/{key}: delete: - description: Delete a given API key. + description: |- + Delete a given API key. + + **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. operationId: DeleteAPIKey parameters: - description: The specific API key you are working with. @@ -27736,7 +27745,10 @@ paths: permissions: - api_keys_delete get: - description: Get a given API key. + description: |- + Get a given API key. + + **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. operationId: GetAPIKey parameters: - description: The specific API key you are working with. @@ -27782,7 +27794,10 @@ paths: permissions: - api_keys_read put: - description: Edit an API key name. + description: |- + Edit an API key name. + + **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. operationId: UpdateAPIKey parameters: - description: The specific API key you are working with. @@ -27849,6 +27864,8 @@ paths: description: |- Get all application keys available for your Datadog account. This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode). + + **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. operationId: ListApplicationKeys responses: "200": @@ -27884,6 +27901,8 @@ paths: description: |- Create an application key with a given name. This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode). + + **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. operationId: CreateApplicationKey requestBody: content: @@ -27942,6 +27961,8 @@ paths: description: |- Delete a given application key. This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode). + + **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. operationId: DeleteApplicationKey parameters: - description: The specific APP key you are working with. @@ -27990,6 +28011,8 @@ paths: description: |- Get a given application key. This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode). + + **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. operationId: GetApplicationKey parameters: - description: The specific APP key you are working with. @@ -28038,6 +28061,8 @@ paths: description: |- Edit an application key name. This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode). + + **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. operationId: UpdateApplicationKey parameters: - description: The specific APP key you are working with. diff --git a/src/datadog_api_client/v1/api/key_management_api.py b/src/datadog_api_client/v1/api/key_management_api.py index 08b1bad9bd..d8b5903eb4 100644 --- a/src/datadog_api_client/v1/api/key_management_api.py +++ b/src/datadog_api_client/v1/api/key_management_api.py @@ -255,6 +255,8 @@ def create_api_key( Creates an API key with a given name. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :type body: ApiKey :rtype: ApiKeyResponse """ @@ -272,6 +274,8 @@ def create_application_key( Create an application key with a given name. This endpoint is disabled for organizations in `One-Time Read mode `_. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :type body: ApplicationKey :rtype: ApplicationKeyResponse """ @@ -288,6 +292,8 @@ def delete_api_key( Delete a given API key. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific API key you are working with. :type key: str :rtype: ApiKeyResponse @@ -306,6 +312,8 @@ def delete_application_key( Delete a given application key. This endpoint is disabled for organizations in `One-Time Read mode `_. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific APP key you are working with. :type key: str :rtype: ApplicationKeyResponse @@ -323,6 +331,8 @@ def get_api_key( Get a given API key. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific API key you are working with. :type key: str :rtype: ApiKeyResponse @@ -341,6 +351,8 @@ def get_application_key( Get a given application key. This endpoint is disabled for organizations in `One-Time Read mode `_. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific APP key you are working with. :type key: str :rtype: ApplicationKeyResponse @@ -357,6 +369,8 @@ def list_api_keys( Get all API keys available for your account. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :rtype: ApiKeyListResponse """ kwargs: Dict[str, Any] = {} @@ -370,6 +384,8 @@ def list_application_keys( Get all application keys available for your Datadog account. This endpoint is disabled for organizations in `One-Time Read mode `_. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :rtype: ApplicationKeyListResponse """ kwargs: Dict[str, Any] = {} @@ -384,6 +400,8 @@ def update_api_key( Edit an API key name. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific API key you are working with. :type key: str :type body: ApiKey @@ -406,6 +424,8 @@ def update_application_key( Edit an application key name. This endpoint is disabled for organizations in `One-Time Read mode `_. + **Note** : This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the `V2 Key Management `_ endpoints instead. + :param key: The specific APP key you are working with. :type key: str :type body: ApplicationKey