Skip to content

Commit d4b1081

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 110709f of spec repo
1 parent 57fb487 commit d4b1081

26 files changed

Lines changed: 237 additions & 251 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,9 +1118,9 @@ components:
11181118
schema:
11191119
type: string
11201120
PersonalAccessTokenID:
1121-
description: The UUID of the personal access token.
1121+
description: The ID of the personal access token.
11221122
in: path
1123-
name: pat_uuid
1123+
name: pat_id
11241124
required: true
11251125
schema:
11261126
example: "00000000-0000-1234-0000-000000000000"
@@ -28760,11 +28760,6 @@ components:
2876028760
FullPersonalAccessTokenAttributes:
2876128761
description: Attributes of a full personal access token, including the token key.
2876228762
properties:
28763-
alias:
28764-
description: The alias (short identifier) of the personal access token.
28765-
example: "2H9MCNMBM8FQjQ16YucXkX"
28766-
readOnly: true
28767-
type: string
2876828763
created_at:
2876928764
description: Creation date of the personal access token.
2877028765
example: "2024-01-01T00:00:00+00:00"
@@ -52460,11 +52455,6 @@ components:
5246052455
PersonalAccessTokenAttributes:
5246152456
description: Attributes of a personal access token.
5246252457
properties:
52463-
alias:
52464-
description: The alias (short identifier) of the personal access token.
52465-
example: "2H9MCNMBM8FQjQ16YucXkX"
52466-
readOnly: true
52467-
type: string
5246852458
created_at:
5246952459
description: Creation date of the personal access token.
5247052460
example: "2024-01-01T00:00:00+00:00"
@@ -76731,6 +76721,10 @@ components:
7673176721
description: Title of the user.
7673276722
nullable: true
7673376723
type: string
76724+
uuid:
76725+
description: UUID of the user.
76726+
readOnly: true
76727+
type: string
7673476728
verified:
7673576729
description: Whether the user is verified.
7673676730
type: boolean
@@ -104768,7 +104762,7 @@ paths:
104768104762
operator: OR
104769104763
permissions:
104770104764
- user_app_keys
104771-
/api/v2/personal_access_tokens/{pat_uuid}:
104765+
/api/v2/personal_access_tokens/{pat_id}:
104772104766
delete:
104773104767
description: Revoke a specific personal access token.
104774104768
operationId: RevokePersonalAccessToken
@@ -114323,7 +114317,7 @@ paths:
114323114317
operator: OR
114324114318
permissions:
114325114319
- service_account_write
114326-
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid}:
114320+
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id}:
114327114321
delete:
114328114322
description: Revoke a specific access token for a service account.
114329114323
operationId: RevokeServiceAccountAccessToken
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-04-03T21:02:56.793Z"
1+
"2026-04-16T20:03:06.304Z"

cassettes/v2/Service-Accounts_4018121712/Create-an-access-token-for-a-service-account-returns-Created-response_1042964283/recording.har

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"log": {
3-
"_recordingName": "Service Accounts/Create an access token for a service account returns \"Created\" response",
43
"creator": {
54
"comment": "persister:fs",
65
"name": "Polly.JS",
76
"version": "6.0.5"
87
},
98
"entries": [
109
{
11-
"_id": "567c34c3ae3c8785a73a27fcc9a742ba",
10+
"_id": "f47bb188a2e6ba96a9a6a881be2e659e",
1211
"_order": 0,
1312
"cache": {},
1413
"request": {
@@ -32,7 +31,7 @@
3231
"postData": {
3332
"mimeType": "application/json",
3433
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1775250176@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}"
34+
"text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1776369786@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}"
3635
},
3736
"queryString": [],
3837
"url": "https://api.datadoghq.com/api/v2/service_accounts"
@@ -42,7 +41,7 @@
4241
"content": {
4342
"mimeType": "application/json",
4443
"size": 746,
45-
"text": "{\"data\":{\"type\":\"users\",\"id\":\"7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0\",\"attributes\":{\"name\":null,\"handle\":\"7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0\",\"created_at\":\"2026-04-03T21:02:56.980609+00:00\",\"modified_at\":\"2026-04-03T21:02:56.980609+00:00\",\"email\":\"test-create_an_access_token_for_a_service_account_returns_created_response-1775250176@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/1a703b50769c96d7b84a5470f474ef74?s=48&d=retro\",\"title\":\"user title\",\"verified\":true,\"service_account\":true,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Active\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n"
44+
"text": "{\"data\":{\"type\":\"users\",\"id\":\"498cce13-39cf-11f1-9928-be1871753dee\",\"attributes\":{\"uuid\":\"498cce13-39cf-11f1-9928-be1871753dee\",\"name\":null,\"handle\":\"498cce13-39cf-11f1-9928-be1871753dee\",\"created_at\":\"2026-04-16T20:03:08.017467+00:00\",\"modified_at\":\"2026-04-16T20:03:08.017467+00:00\",\"email\":\"test-create_an_access_token_for_a_service_account_returns_created_response-1776369786@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/ed167ebfacd06c99ea70d4c121f5a7f1?s=48&d=retro\",\"title\":\"user title\",\"verified\":true,\"service_account\":true,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Active\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n"
4645
},
4746
"cookies": [],
4847
"headers": [
@@ -51,17 +50,17 @@
5150
"value": "application/json"
5251
}
5352
],
54-
"headersSize": 688,
53+
"headersSize": 689,
5554
"httpVersion": "HTTP/1.1",
5655
"redirectURL": "",
5756
"status": 201,
5857
"statusText": "Created"
5958
},
60-
"startedDateTime": "2026-04-03T21:02:56.794Z",
61-
"time": 259
59+
"startedDateTime": "2026-04-16T20:03:07.804Z",
60+
"time": 348
6261
},
6362
{
64-
"_id": "c6adfa6b102761d3a8c2030c2ba28080",
63+
"_id": "6d806020455611833ebca80b6034dce9",
6564
"_order": 0,
6665
"cache": {},
6766
"request": {
@@ -85,17 +84,17 @@
8584
"postData": {
8685
"mimeType": "application/json",
8786
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1775250176\",\"scopes\":[\"dashboards_read\"]},\"type\":\"personal_access_tokens\"}}"
87+
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1776369786\",\"scopes\":[\"dashboards_read\"]},\"type\":\"personal_access_tokens\"}}"
8988
},
9089
"queryString": [],
91-
"url": "https://api.datadoghq.com/api/v2/service_accounts/7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0/access_tokens"
90+
"url": "https://api.datadoghq.com/api/v2/service_accounts/498cce13-39cf-11f1-9928-be1871753dee/access_tokens"
9291
},
9392
"response": {
94-
"bodySize": 537,
93+
"bodySize": 510,
9594
"content": {
9695
"mimeType": "application/vnd.api+json",
97-
"size": 537,
98-
"text": "{\"data\":{\"id\":\"6f2491f5-8c3f-45a3-962a-5f769b95e806\",\"type\":\"personal_access_tokens\",\"attributes\":{\"alias\":\"3NirNJ5Y2qB4Fmac8B4wnm\",\"created_at\":\"2026-04-03T21:02:57.288351972Z\",\"expires_at\":null,\"key\":\"xxxxx_xxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxXxxxxxxxxxxxxxxxxxxxxxxx\",\"name\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1775250176\",\"public_portion\":\"3NirNJ5Y2qB4Fmac8B4wnm\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0\",\"type\":\"users\"}}}}}"
96+
"size": 510,
97+
"text": "{\"data\":{\"id\":\"88337232-8552-4495-987c-1cfed567d461\",\"type\":\"personal_access_tokens\",\"attributes\":{\"created_at\":\"2026-04-16T20:03:08.381725456Z\",\"expires_at\":null,\"key\":\"xxxxx_xxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"name\":\"Test-Create_an_access_token_for_a_service_account_returns_Created_response-1776369786\",\"public_portion\":\"ddpat_490SyfYQqhqnr008BTjQWn\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"498cce13-39cf-11f1-9928-be1871753dee\",\"type\":\"users\"}}}}}"
9998
},
10099
"cookies": [],
101100
"headers": [
@@ -110,11 +109,11 @@
110109
"status": 201,
111110
"statusText": "Created"
112111
},
113-
"startedDateTime": "2026-04-03T21:02:57.059Z",
114-
"time": 207
112+
"startedDateTime": "2026-04-16T20:03:08.161Z",
113+
"time": 253
115114
},
116115
{
117-
"_id": "09473a0acca978f1677a1a4f8ac133da",
116+
"_id": "9f6795a33733f1de83fa480c56c66320",
118117
"_order": 0,
119118
"cache": {},
120119
"request": {
@@ -131,7 +130,7 @@
131130
"httpVersion": "HTTP/1.1",
132131
"method": "DELETE",
133132
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/service_accounts/7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0/access_tokens/6f2491f5-8c3f-45a3-962a-5f769b95e806"
133+
"url": "https://api.datadoghq.com/api/v2/service_accounts/498cce13-39cf-11f1-9928-be1871753dee/access_tokens/88337232-8552-4495-987c-1cfed567d461"
135134
},
136135
"response": {
137136
"bodySize": 0,
@@ -147,11 +146,11 @@
147146
"status": 204,
148147
"statusText": "No Content"
149148
},
150-
"startedDateTime": "2026-04-03T21:02:57.272Z",
151-
"time": 161
149+
"startedDateTime": "2026-04-16T20:03:08.421Z",
150+
"time": 247
152151
},
153152
{
154-
"_id": "393e616cbf0575841cd30dad62ab2cff",
153+
"_id": "8fda343ec9208ee6219af8b36492a756",
155154
"_order": 0,
156155
"cache": {},
157156
"request": {
@@ -168,7 +167,7 @@
168167
"httpVersion": "HTTP/1.1",
169168
"method": "DELETE",
170169
"queryString": [],
171-
"url": "https://api.datadoghq.com/api/v2/users/7d5e5ea9-2fa0-11f1-991f-62f4bfc595d0"
170+
"url": "https://api.datadoghq.com/api/v2/users/498cce13-39cf-11f1-9928-be1871753dee"
172171
},
173172
"response": {
174173
"bodySize": 0,
@@ -184,11 +183,12 @@
184183
"status": 204,
185184
"statusText": "No Content"
186185
},
187-
"startedDateTime": "2026-04-03T21:02:57.437Z",
188-
"time": 828
186+
"startedDateTime": "2026-04-16T20:03:08.671Z",
187+
"time": 435
189188
}
190189
],
191190
"pages": [],
192-
"version": "1.2"
191+
"version": "1.2",
192+
"_recordingName": "Service Accounts/Create an access token for a service account returns \"Created\" response"
193193
}
194194
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-04-03T21:03:03.500Z"
1+
"2026-04-16T20:03:09.123Z"

0 commit comments

Comments
 (0)