Skip to content

Commit 54364b0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2e3bafa of spec repo
1 parent 80df2ad commit 54364b0

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
@@ -25813,7 +25813,9 @@ paths:
2581325813
- api_keys_write
2581425814
/api/v1/application_key:
2581525815
get:
25816-
description: Get all application keys available for your Datadog account.
25816+
description: 'Get all application keys available for your Datadog account.
25817+
25818+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2581725819
operationId: ListApplicationKeys
2581825820
responses:
2581925821
'200':
@@ -25839,7 +25841,9 @@ paths:
2583925841
- org_app_keys_read
2584025842
- user_app_keys
2584125843
post:
25842-
description: Create an application key with a given name.
25844+
description: 'Create an application key with a given name.
25845+
25846+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2584325847
operationId: CreateApplicationKey
2584425848
requestBody:
2584525849
content:
@@ -25884,7 +25888,9 @@ paths:
2588425888
- user_app_keys
2588525889
/api/v1/application_key/{key}:
2588625890
delete:
25887-
description: Delete a given application key.
25891+
description: 'Delete a given application key.
25892+
25893+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2588825894
operationId: DeleteApplicationKey
2588925895
parameters:
2589025896
- description: The specific APP key you are working with.
@@ -25923,7 +25929,9 @@ paths:
2592325929
- org_app_keys_write
2592425930
- user_app_keys
2592525931
get:
25926-
description: Get a given application key.
25932+
description: 'Get a given application key.
25933+
25934+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2592725935
operationId: GetApplicationKey
2592825936
parameters:
2592925937
- description: The specific APP key you are working with.
@@ -25962,7 +25970,9 @@ paths:
2596225970
- org_app_keys_read
2596325971
- user_app_keys
2596425972
put:
25965-
description: Edit an application key name.
25973+
description: 'Edit an application key name.
25974+
25975+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2596625976
operationId: UpdateApplicationKey
2596725977
parameters:
2596825978
- 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
@@ -62957,7 +62957,9 @@ paths:
6295762957
permissions:
6295862958
- user_app_keys
6295962959
get:
62960-
description: Get an application key owned by current user
62960+
description: 'Get an application key owned by current user.
62961+
62962+
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).'
6296162963
operationId: GetCurrentUserApplicationKey
6296262964
parameters:
6296362965
- $ref: '#/components/parameters/ApplicationKeyID'
@@ -62990,7 +62992,9 @@ paths:
6299062992
permissions:
6299162993
- user_app_keys
6299262994
patch:
62993-
description: Edit an application key owned by current user
62995+
description: 'Edit an application key owned by current user.
62996+
62997+
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).'
6299462998
operationId: UpdateCurrentUserApplicationKey
6299562999
parameters:
6299663000
- $ref: '#/components/parameters/ApplicationKeyID'

services/key_management/src/v1/KeyManagementApi.ts

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

12131213
/**
12141214
* Create an application key with a given name.
1215+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12151216
* @param param The request object
12161217
*/
12171218
public createApplicationKey(
@@ -1254,6 +1255,7 @@ export class KeyManagementApi {
12541255

12551256
/**
12561257
* Delete a given application key.
1258+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12571259
* @param param The request object
12581260
*/
12591261
public deleteApplicationKey(
@@ -1296,6 +1298,7 @@ export class KeyManagementApi {
12961298

12971299
/**
12981300
* Get a given application key.
1301+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
12991302
* @param param The request object
13001303
*/
13011304
public getApplicationKey(
@@ -1332,6 +1335,7 @@ export class KeyManagementApi {
13321335

13331336
/**
13341337
* Get all application keys available for your Datadog account.
1338+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
13351339
* @param param The request object
13361340
*/
13371341
public listApplicationKeys(
@@ -1372,6 +1376,7 @@ export class KeyManagementApi {
13721376

13731377
/**
13741378
* Edit an application key name.
1379+
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
13751380
* @param param The request object
13761381
*/
13771382
public updateApplicationKey(

services/key_management/src/v2/KeyManagementApi.ts

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

21512151
/**
2152-
* Get an application key owned by current user
2152+
* Get an application key owned by current user.
2153+
* 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).
21532154
* @param param The request object
21542155
*/
21552156
public getCurrentUserApplicationKey(
@@ -2302,7 +2303,8 @@ export class KeyManagementApi {
23022303
}
23032304

23042305
/**
2305-
* Edit an application key owned by current user
2306+
* Edit an application key owned by current user.
2307+
* 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).
23062308
* @param param The request object
23072309
*/
23082310
public updateCurrentUserApplicationKey(

0 commit comments

Comments
 (0)