diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 81bb22eb0b9..233d5549307 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 6401afac969..922424a28dc 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/lib/datadog_api_client/v1/api/key_management_api.rb b/lib/datadog_api_client/v1/api/key_management_api.rb index 8e328d952b1..d36d55cb904 100644 --- a/lib/datadog_api_client/v1/api/key_management_api.rb +++ b/lib/datadog_api_client/v1/api/key_management_api.rb @@ -101,6 +101,7 @@ def create_application_key(body, opts = {}) # 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). # # @param body [ApplicationKey] # @param opts [Hash] the optional parameters @@ -233,6 +234,7 @@ def delete_application_key(key, opts = {}) # 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 [String] The specific APP key you are working with. # @param opts [Hash] the optional parameters @@ -363,6 +365,7 @@ def get_application_key(key, opts = {}) # 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 [String] The specific APP key you are working with. # @param opts [Hash] the optional parameters @@ -488,6 +491,7 @@ def list_application_keys(opts = {}) # 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). # # @param opts [Hash] the optional parameters # @return [Array<(ApplicationKeyListResponse, Integer, Hash)>] ApplicationKeyListResponse data, response status code and response headers @@ -620,6 +624,7 @@ def update_application_key(key, body, opts = {}) # 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 [String] The specific APP key you are working with. # @param body [ApplicationKey] diff --git a/lib/datadog_api_client/v2/api/key_management_api.rb b/lib/datadog_api_client/v2/api/key_management_api.rb index 66d9c9d38c0..76838462a2b 100644 --- a/lib/datadog_api_client/v2/api/key_management_api.rb +++ b/lib/datadog_api_client/v2/api/key_management_api.rb @@ -496,7 +496,8 @@ def get_current_user_application_key(app_key_id, opts = {}) # 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 [String] The ID of the application key. # @param opts [Hash] the optional parameters @@ -947,7 +948,8 @@ def update_current_user_application_key(app_key_id, body, opts = {}) # 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 [String] The ID of the application key. # @param body [ApplicationKeyUpdateRequest]