Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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":
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
20 changes: 20 additions & 0 deletions src/datadog_api_client/v1/api/key_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.datadoghq.com/api/latest/key-management/>`_ endpoints instead.

:type body: ApiKey
:rtype: ApiKeyResponse
"""
Expand All @@ -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 <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.

:type body: ApplicationKey
:rtype: ApplicationKeyResponse
"""
Expand All @@ -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 <https://docs.datadoghq.com/api/latest/key-management/>`_ endpoints instead.

:param key: The specific API key you are working with.
:type key: str
:rtype: ApiKeyResponse
Expand All @@ -306,6 +312,8 @@ def delete_application_key(
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.

:param key: The specific APP key you are working with.
:type key: str
:rtype: ApplicationKeyResponse
Expand All @@ -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 <https://docs.datadoghq.com/api/latest/key-management/>`_ endpoints instead.

:param key: The specific API key you are working with.
:type key: str
:rtype: ApiKeyResponse
Expand All @@ -341,6 +351,8 @@ def get_application_key(
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.

:param key: The specific APP key you are working with.
:type key: str
:rtype: ApplicationKeyResponse
Expand All @@ -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 <https://docs.datadoghq.com/api/latest/key-management/>`_ endpoints instead.

:rtype: ApiKeyListResponse
"""
kwargs: Dict[str, Any] = {}
Expand All @@ -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 <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.

:rtype: ApplicationKeyListResponse
"""
kwargs: Dict[str, Any] = {}
Expand All @@ -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 <https://docs.datadoghq.com/api/latest/key-management/>`_ endpoints instead.

:param key: The specific API key you are working with.
:type key: str
:type body: ApiKey
Expand All @@ -406,6 +424,8 @@ def update_application_key(
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.

:param key: The specific APP key you are working with.
:type key: str
:type body: ApplicationKey
Expand Down
Loading