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 lib/datadog_api_client/v1/api/key_management_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def create_api_key(body, opts = {})
#
# 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.
#
# @param body [ApiKey]
# @param opts [Hash] the optional parameters
# @return [Array<(ApiKeyResponse, Integer, Hash)>] ApiKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -103,6 +105,8 @@ def create_application_key(body, opts = {})
# 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.
#
# @param body [ApplicationKey]
# @param opts [Hash] the optional parameters
# @return [Array<(ApplicationKeyResponse, Integer, Hash)>] ApplicationKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -170,6 +174,8 @@ def delete_api_key(key, opts = {})
#
# 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 [String] The specific API key you are working with.
# @param opts [Hash] the optional parameters
# @return [Array<(ApiKeyResponse, Integer, Hash)>] ApiKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -236,6 +242,8 @@ def delete_application_key(key, opts = {})
# 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 [String] The specific APP key you are working with.
# @param opts [Hash] the optional parameters
# @return [Array<(ApplicationKeyResponse, Integer, Hash)>] ApplicationKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -301,6 +309,8 @@ def get_api_key(key, opts = {})
#
# 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 [String] The specific API key you are working with.
# @param opts [Hash] the optional parameters
# @return [Array<(ApiKeyResponse, Integer, Hash)>] ApiKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -367,6 +377,8 @@ def get_application_key(key, opts = {})
# 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 [String] The specific APP key you are working with.
# @param opts [Hash] the optional parameters
# @return [Array<(ApplicationKeyResponse, Integer, Hash)>] ApplicationKeyResponse data, response status code and response headers
Expand Down Expand Up @@ -432,6 +444,8 @@ def list_api_keys(opts = {})
#
# 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.
#
# @param opts [Hash] the optional parameters
# @return [Array<(ApiKeyListResponse, Integer, Hash)>] ApiKeyListResponse data, response status code and response headers
def list_api_keys_with_http_info(opts = {})
Expand Down Expand Up @@ -493,6 +507,8 @@ def list_application_keys(opts = {})
# 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.
#
# @param opts [Hash] the optional parameters
# @return [Array<(ApplicationKeyListResponse, Integer, Hash)>] ApplicationKeyListResponse data, response status code and response headers
def list_application_keys_with_http_info(opts = {})
Expand Down Expand Up @@ -553,6 +569,8 @@ def update_api_key(key, body, opts = {})
#
# 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 [String] The specific API key you are working with.
# @param body [ApiKey]
# @param opts [Hash] the optional parameters
Expand Down Expand Up @@ -626,6 +644,8 @@ def update_application_key(key, body, opts = {})
# 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 [String] The specific APP key you are working with.
# @param body [ApplicationKey]
# @param opts [Hash] the optional parameters
Expand Down
Loading