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 services/key_management/src/v1/KeyManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,7 @@ export class KeyManagementApi {

/**
* 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 param The request object
*/
public createApplicationKey(
Expand Down Expand Up @@ -1254,6 +1255,7 @@ export class KeyManagementApi {

/**
* 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 param The request object
*/
public deleteApplicationKey(
Expand Down Expand Up @@ -1296,6 +1298,7 @@ export class KeyManagementApi {

/**
* 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 param The request object
*/
public getApplicationKey(
Expand Down Expand Up @@ -1332,6 +1335,7 @@ export class KeyManagementApi {

/**
* 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 param The request object
*/
public listApplicationKeys(
Expand Down Expand Up @@ -1372,6 +1376,7 @@ export class KeyManagementApi {

/**
* 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 param The request object
*/
public updateApplicationKey(
Expand Down
6 changes: 4 additions & 2 deletions services/key_management/src/v2/KeyManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,8 @@ export class KeyManagementApi {
}

/**
* 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 param The request object
*/
public getCurrentUserApplicationKey(
Expand Down Expand Up @@ -2302,7 +2303,8 @@ export class KeyManagementApi {
}

/**
* 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 param The request object
*/
public updateCurrentUserApplicationKey(
Expand Down