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
20 changes: 15 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25843,7 +25843,9 @@ paths:
- api_keys_write
/api/v1/application_key:
get:
description: Get all application keys available for your Datadog account.
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).'
operationId: ListApplicationKeys
responses:
'200':
Expand All @@ -25869,7 +25871,9 @@ paths:
- org_app_keys_read
- user_app_keys
post:
description: Create an application key with a given name.
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).'
operationId: CreateApplicationKey
requestBody:
content:
Expand Down Expand Up @@ -25914,7 +25918,9 @@ paths:
- user_app_keys
/api/v1/application_key/{key}:
delete:
description: Delete a given application key.
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).'
operationId: DeleteApplicationKey
parameters:
- description: The specific APP key you are working with.
Expand Down Expand Up @@ -25953,7 +25959,9 @@ paths:
- org_app_keys_write
- user_app_keys
get:
description: Get a given application key.
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).'
operationId: GetApplicationKey
parameters:
- description: The specific APP key you are working with.
Expand Down Expand Up @@ -25992,7 +26000,9 @@ paths:
- org_app_keys_read
- user_app_keys
put:
description: Edit an application key name.
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).'
operationId: UpdateApplicationKey
parameters:
- description: The specific APP key you are working with.
Expand Down
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62965,7 +62965,9 @@ paths:
permissions:
- user_app_keys
get:
description: Get an application key owned by current user
description: 'Get an application key owned by current user.

The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
operationId: GetCurrentUserApplicationKey
parameters:
- $ref: '#/components/parameters/ApplicationKeyID'
Expand Down Expand Up @@ -62998,7 +63000,9 @@ paths:
permissions:
- user_app_keys
patch:
description: Edit an application key owned by current user
description: 'Edit an application key owned by current user.

The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
operationId: UpdateCurrentUserApplicationKey
parameters:
- $ref: '#/components/parameters/ApplicationKeyID'
Expand Down
5 changes: 5 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 @@ -270,6 +270,7 @@ def create_application_key(
"""Create an 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>`_.

:type body: ApplicationKey
:rtype: ApplicationKeyResponse
Expand Down Expand Up @@ -303,6 +304,7 @@ def delete_application_key(
"""Delete an 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>`_.

:param key: The specific APP key you are working with.
:type key: str
Expand Down Expand Up @@ -337,6 +339,7 @@ def get_application_key(
"""Get an 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>`_.

:param key: The specific APP key you are working with.
:type key: str
Expand Down Expand Up @@ -365,6 +368,7 @@ def list_application_keys(
"""Get all 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>`_.

:rtype: ApplicationKeyListResponse
"""
Expand Down Expand Up @@ -400,6 +404,7 @@ def update_application_key(
"""Edit an 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>`_.

:param key: The specific APP key you are working with.
:type key: str
Expand Down
6 changes: 4 additions & 2 deletions src/datadog_api_client/v2/api/key_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,8 @@ def get_current_user_application_key(
) -> ApplicationKeyResponse:
"""Get one application key owned by current user.

Get an application key owned by current user
Get an application key owned by current user.
The ``key`` field is not returned for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.

:param app_key_id: The ID of the application key.
:type app_key_id: str
Expand Down Expand Up @@ -873,7 +874,8 @@ def update_current_user_application_key(
) -> ApplicationKeyResponse:
"""Edit an application key owned by current user.

Edit an application key owned by current user
Edit an application key owned by current user.
The ``key`` field is not returned for organizations in `One-Time Read mode <https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>`_.

:param app_key_id: The ID of the application key.
:type app_key_id: str
Expand Down