diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 81bb22eb0b..233d554930 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -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': @@ -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: @@ -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. @@ -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. @@ -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. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6401afac96..922424a28d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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' @@ -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' 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 cf16bd5ad4..08b1bad9bd 100644 --- a/src/datadog_api_client/v1/api/key_management_api.py +++ b/src/datadog_api_client/v1/api/key_management_api.py @@ -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 `_. :type body: ApplicationKey :rtype: ApplicationKeyResponse @@ -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 `_. :param key: The specific APP key you are working with. :type key: str @@ -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 `_. :param key: The specific APP key you are working with. :type key: str @@ -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 `_. :rtype: ApplicationKeyListResponse """ @@ -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 `_. :param key: The specific APP key you are working with. :type key: str diff --git a/src/datadog_api_client/v2/api/key_management_api.py b/src/datadog_api_client/v2/api/key_management_api.py index 8412929a3e..29940c9727 100644 --- a/src/datadog_api_client/v2/api/key_management_api.py +++ b/src/datadog_api_client/v2/api/key_management_api.py @@ -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 `_. :param app_key_id: The ID of the application key. :type app_key_id: str @@ -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 `_. :param app_key_id: The ID of the application key. :type app_key_id: str