Skip to content

Commit e801b41

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update descriptions for otr mode (#2994)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 0157e7f commit e801b41

File tree

4 files changed

+30
-9
lines changed

4 files changed

+30
-9
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25843,7 +25843,9 @@ paths:
2584325843
- api_keys_write
2584425844
/api/v1/application_key:
2584525845
get:
25846-
description: Get all application keys available for your Datadog account.
25846+
description: 'Get all application keys available for your Datadog account.
25847+
25848+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2584725849
operationId: ListApplicationKeys
2584825850
responses:
2584925851
'200':
@@ -25869,7 +25871,9 @@ paths:
2586925871
- org_app_keys_read
2587025872
- user_app_keys
2587125873
post:
25872-
description: Create an application key with a given name.
25874+
description: 'Create an application key with a given name.
25875+
25876+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2587325877
operationId: CreateApplicationKey
2587425878
requestBody:
2587525879
content:
@@ -25914,7 +25918,9 @@ paths:
2591425918
- user_app_keys
2591525919
/api/v1/application_key/{key}:
2591625920
delete:
25917-
description: Delete a given application key.
25921+
description: 'Delete a given application key.
25922+
25923+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2591825924
operationId: DeleteApplicationKey
2591925925
parameters:
2592025926
- description: The specific APP key you are working with.
@@ -25953,7 +25959,9 @@ paths:
2595325959
- org_app_keys_write
2595425960
- user_app_keys
2595525961
get:
25956-
description: Get a given application key.
25962+
description: 'Get a given application key.
25963+
25964+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2595725965
operationId: GetApplicationKey
2595825966
parameters:
2595925967
- description: The specific APP key you are working with.
@@ -25992,7 +26000,9 @@ paths:
2599226000
- org_app_keys_read
2599326001
- user_app_keys
2599426002
put:
25995-
description: Edit an application key name.
26003+
description: 'Edit an application key name.
26004+
26005+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2599626006
operationId: UpdateApplicationKey
2599726007
parameters:
2599826008
- description: The specific APP key you are working with.

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62965,7 +62965,9 @@ paths:
6296562965
permissions:
6296662966
- user_app_keys
6296762967
get:
62968-
description: Get an application key owned by current user
62968+
description: 'Get an application key owned by current user.
62969+
62970+
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).'
6296962971
operationId: GetCurrentUserApplicationKey
6297062972
parameters:
6297162973
- $ref: '#/components/parameters/ApplicationKeyID'
@@ -62998,7 +63000,9 @@ paths:
6299863000
permissions:
6299963001
- user_app_keys
6300063002
patch:
63001-
description: Edit an application key owned by current user
63003+
description: 'Edit an application key owned by current user.
63004+
63005+
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).'
6300263006
operationId: UpdateCurrentUserApplicationKey
6300363007
parameters:
6300463008
- $ref: '#/components/parameters/ApplicationKeyID'

packages/datadog-api-client-v1/apis/KeyManagementApi.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,7 @@ export class KeyManagementApi {
11131113

11141114
/**
11151115
* Create an application key with a given name.
1116+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
11161117
* @param param The request object
11171118
*/
11181119
public createApplicationKey(
@@ -1155,6 +1156,7 @@ export class KeyManagementApi {
11551156

11561157
/**
11571158
* Delete a given application key.
1159+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
11581160
* @param param The request object
11591161
*/
11601162
public deleteApplicationKey(
@@ -1197,6 +1199,7 @@ export class KeyManagementApi {
11971199

11981200
/**
11991201
* Get a given application key.
1202+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12001203
* @param param The request object
12011204
*/
12021205
public getApplicationKey(
@@ -1233,6 +1236,7 @@ export class KeyManagementApi {
12331236

12341237
/**
12351238
* Get all application keys available for your Datadog account.
1239+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12361240
* @param param The request object
12371241
*/
12381242
public listApplicationKeys(
@@ -1273,6 +1277,7 @@ export class KeyManagementApi {
12731277

12741278
/**
12751279
* Edit an application key name.
1280+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12761281
* @param param The request object
12771282
*/
12781283
public updateApplicationKey(

packages/datadog-api-client-v2/apis/KeyManagementApi.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,8 @@ export class KeyManagementApi {
20262026
}
20272027

20282028
/**
2029-
* Get an application key owned by current user
2029+
* Get an application key owned by current user.
2030+
* 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).
20302031
* @param param The request object
20312032
*/
20322033
public getCurrentUserApplicationKey(
@@ -2179,7 +2180,8 @@ export class KeyManagementApi {
21792180
}
21802181

21812182
/**
2182-
* Edit an application key owned by current user
2183+
* Edit an application key owned by current user.
2184+
* 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).
21832185
* @param param The request object
21842186
*/
21852187
public updateCurrentUserApplicationKey(

0 commit comments

Comments
 (0)