|
1 | 1 | { |
2 | 2 | "log": { |
| 3 | + "_recordingName": "Service Accounts/Get an access token for a service account returns \"OK\" response", |
3 | 4 | "creator": { |
4 | 5 | "comment": "persister:fs", |
5 | 6 | "name": "Polly.JS", |
6 | 7 | "version": "6.0.5" |
7 | 8 | }, |
8 | 9 | "entries": [ |
9 | 10 | { |
10 | | - "_id": "d077c285816609b6bafdac466b66d2ea", |
| 11 | + "_id": "145227f547e335aa327f58dc2e4b258b", |
11 | 12 | "_order": 0, |
12 | 13 | "cache": {}, |
13 | 14 | "request": { |
|
31 | 32 | "postData": { |
32 | 33 | "mimeType": "application/json", |
33 | 34 | "params": [], |
34 | | - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1776369789@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}" |
| 35 | + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1775250183@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}" |
35 | 36 | }, |
36 | 37 | "queryString": [], |
37 | 38 | "url": "https://api.datadoghq.com/api/v2/service_accounts" |
|
41 | 42 | "content": { |
42 | 43 | "mimeType": "application/json", |
43 | 44 | "size": 738, |
44 | | - "text": "{\"data\":{\"type\":\"users\",\"id\":\"4a56376d-39cf-11f1-9a29-2eb65349fc01\",\"attributes\":{\"uuid\":\"4a56376d-39cf-11f1-9a29-2eb65349fc01\",\"name\":null,\"handle\":\"4a56376d-39cf-11f1-9a29-2eb65349fc01\",\"created_at\":\"2026-04-16T20:03:09.337439+00:00\",\"modified_at\":\"2026-04-16T20:03:09.337439+00:00\",\"email\":\"test-get_an_access_token_for_a_service_account_returns_ok_response-1776369789@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/7473377b9dced0689feddb50f5d82d29?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" |
| 45 | + "text": "{\"data\":{\"type\":\"users\",\"id\":\"8161ef90-2fa0-11f1-991f-62f4bfc595d0\",\"attributes\":{\"name\":null,\"handle\":\"8161ef90-2fa0-11f1-991f-62f4bfc595d0\",\"created_at\":\"2026-04-03T21:03:03.714879+00:00\",\"modified_at\":\"2026-04-03T21:03:03.714879+00:00\",\"email\":\"test-get_an_access_token_for_a_service_account_returns_ok_response-1775250183@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/bb3c6df0d99066bbe05cf7dff99b5561?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" |
45 | 46 | }, |
46 | 47 | "cookies": [], |
47 | 48 | "headers": [ |
|
56 | 57 | "status": 201, |
57 | 58 | "statusText": "Created" |
58 | 59 | }, |
59 | | - "startedDateTime": "2026-04-16T20:03:09.127Z", |
60 | | - "time": 336 |
| 60 | + "startedDateTime": "2026-04-03T21:03:03.502Z", |
| 61 | + "time": 293 |
61 | 62 | }, |
62 | 63 | { |
63 | | - "_id": "43c626108b63b6e6616225e0c9c01f18", |
| 64 | + "_id": "fdccf2049c1e92e90008e334c10c3ed8", |
64 | 65 | "_order": 0, |
65 | 66 | "cache": {}, |
66 | 67 | "request": { |
|
84 | 85 | "postData": { |
85 | 86 | "mimeType": "application/json", |
86 | 87 | "params": [], |
87 | | - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1776369789\",\"scopes\":[\"dashboards_read\"]},\"type\":\"personal_access_tokens\"}}" |
| 88 | + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1775250183\",\"scopes\":[\"dashboards_read\"]},\"type\":\"personal_access_tokens\"}}" |
88 | 89 | }, |
89 | 90 | "queryString": [], |
90 | | - "url": "https://api.datadoghq.com/api/v2/service_accounts/4a56376d-39cf-11f1-9a29-2eb65349fc01/access_tokens" |
| 91 | + "url": "https://api.datadoghq.com/api/v2/service_accounts/8161ef90-2fa0-11f1-991f-62f4bfc595d0/access_tokens" |
91 | 92 | }, |
92 | 93 | "response": { |
93 | | - "bodySize": 502, |
| 94 | + "bodySize": 529, |
94 | 95 | "content": { |
95 | 96 | "mimeType": "application/vnd.api+json", |
96 | | - "size": 502, |
97 | | - "text": "{\"data\":{\"id\":\"b84d8c2c-b88c-4f72-82ef-fc09dddd1153\",\"type\":\"personal_access_tokens\",\"attributes\":{\"created_at\":\"2026-04-16T20:03:09.695802251Z\",\"expires_at\":null,\"key\":\"xxxxx_xxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1776369789\",\"public_portion\":\"ddpat_5bm1hhcTKQzH22hPiJgkEN\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"4a56376d-39cf-11f1-9a29-2eb65349fc01\",\"type\":\"users\"}}}}}" |
| 97 | + "size": 529, |
| 98 | + "text": "{\"data\":{\"id\":\"f2362958-1e67-414b-985d-d3196afd9315\",\"type\":\"personal_access_tokens\",\"attributes\":{\"alias\":\"7N2tUOwxIjSF8QziOBIpVd\",\"created_at\":\"2026-04-03T21:03:04.002376467Z\",\"expires_at\":null,\"key\":\"xxxxx_xxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1775250183\",\"public_portion\":\"7N2tUOwxIjSF8QziOBIpVd\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"8161ef90-2fa0-11f1-991f-62f4bfc595d0\",\"type\":\"users\"}}}}}" |
98 | 99 | }, |
99 | 100 | "cookies": [], |
100 | 101 | "headers": [ |
|
109 | 110 | "status": 201, |
110 | 111 | "statusText": "Created" |
111 | 112 | }, |
112 | | - "startedDateTime": "2026-04-16T20:03:09.467Z", |
113 | | - "time": 267 |
| 113 | + "startedDateTime": "2026-04-03T21:03:03.800Z", |
| 114 | + "time": 182 |
114 | 115 | }, |
115 | 116 | { |
116 | | - "_id": "421343475af4f8df719356b4cfa2f4f0", |
| 117 | + "_id": "8e65c5a64047d080cfc9d5fed107089c", |
117 | 118 | "_order": 0, |
118 | 119 | "cache": {}, |
119 | 120 | "request": { |
|
130 | 131 | "httpVersion": "HTTP/1.1", |
131 | 132 | "method": "GET", |
132 | 133 | "queryString": [], |
133 | | - "url": "https://api.datadoghq.com/api/v2/service_accounts/4a56376d-39cf-11f1-9a29-2eb65349fc01/access_tokens/b84d8c2c-b88c-4f72-82ef-fc09dddd1153" |
| 134 | + "url": "https://api.datadoghq.com/api/v2/service_accounts/8161ef90-2fa0-11f1-991f-62f4bfc595d0/access_tokens/f2362958-1e67-414b-985d-d3196afd9315" |
134 | 135 | }, |
135 | 136 | "response": { |
136 | | - "bodySize": 445, |
| 137 | + "bodySize": 472, |
137 | 138 | "content": { |
138 | 139 | "mimeType": "application/vnd.api+json", |
139 | | - "size": 445, |
140 | | - "text": "{\"data\":{\"id\":\"b84d8c2c-b88c-4f72-82ef-fc09dddd1153\",\"type\":\"personal_access_tokens\",\"attributes\":{\"created_at\":\"2026-04-16T20:03:09.695802Z\",\"expires_at\":null,\"last_used_at\":null,\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1776369789\",\"public_portion\":\"ddpat_5bm1hhcTKQzH22hPiJgkEN\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"4a56376d-39cf-11f1-9a29-2eb65349fc01\",\"type\":\"users\"}}}}}" |
| 140 | + "size": 472, |
| 141 | + "text": "{\"data\":{\"id\":\"f2362958-1e67-414b-985d-d3196afd9315\",\"type\":\"personal_access_tokens\",\"attributes\":{\"alias\":\"7N2tUOwxIjSF8QziOBIpVd\",\"created_at\":\"2026-04-03T21:03:04.002376Z\",\"expires_at\":null,\"last_used_at\":null,\"name\":\"Test-Get_an_access_token_for_a_service_account_returns_OK_response-1775250183\",\"public_portion\":\"7N2tUOwxIjSF8QziOBIpVd\",\"scopes\":[\"dashboards_read\"]},\"relationships\":{\"owned_by\":{\"data\":{\"id\":\"8161ef90-2fa0-11f1-991f-62f4bfc595d0\",\"type\":\"users\"}}}}}" |
141 | 142 | }, |
142 | 143 | "cookies": [], |
143 | 144 | "headers": [ |
|
152 | 153 | "status": 200, |
153 | 154 | "statusText": "OK" |
154 | 155 | }, |
155 | | - "startedDateTime": "2026-04-16T20:03:09.740Z", |
156 | | - "time": 253 |
| 156 | + "startedDateTime": "2026-04-03T21:03:03.991Z", |
| 157 | + "time": 166 |
157 | 158 | }, |
158 | 159 | { |
159 | | - "_id": "207dc4ce726fbb5df2ec232ddf8d8fb9", |
| 160 | + "_id": "c26607f1bdf6dc7e1abeba1d99b0d986", |
160 | 161 | "_order": 0, |
161 | 162 | "cache": {}, |
162 | 163 | "request": { |
|
173 | 174 | "httpVersion": "HTTP/1.1", |
174 | 175 | "method": "DELETE", |
175 | 176 | "queryString": [], |
176 | | - "url": "https://api.datadoghq.com/api/v2/service_accounts/4a56376d-39cf-11f1-9a29-2eb65349fc01/access_tokens/b84d8c2c-b88c-4f72-82ef-fc09dddd1153" |
| 177 | + "url": "https://api.datadoghq.com/api/v2/service_accounts/8161ef90-2fa0-11f1-991f-62f4bfc595d0/access_tokens/f2362958-1e67-414b-985d-d3196afd9315" |
177 | 178 | }, |
178 | 179 | "response": { |
179 | 180 | "bodySize": 0, |
|
189 | 190 | "status": 204, |
190 | 191 | "statusText": "No Content" |
191 | 192 | }, |
192 | | - "startedDateTime": "2026-04-16T20:03:09.999Z", |
193 | | - "time": 222 |
| 193 | + "startedDateTime": "2026-04-03T21:03:04.161Z", |
| 194 | + "time": 141 |
194 | 195 | }, |
195 | 196 | { |
196 | | - "_id": "983430383a18ef139153732118bbfdc9", |
| 197 | + "_id": "18d29cd2ed0567c0ce3fcd340445e82f", |
197 | 198 | "_order": 0, |
198 | 199 | "cache": {}, |
199 | 200 | "request": { |
|
210 | 211 | "httpVersion": "HTTP/1.1", |
211 | 212 | "method": "DELETE", |
212 | 213 | "queryString": [], |
213 | | - "url": "https://api.datadoghq.com/api/v2/users/4a56376d-39cf-11f1-9a29-2eb65349fc01" |
| 214 | + "url": "https://api.datadoghq.com/api/v2/users/8161ef90-2fa0-11f1-991f-62f4bfc595d0" |
214 | 215 | }, |
215 | 216 | "response": { |
216 | 217 | "bodySize": 0, |
|
226 | 227 | "status": 204, |
227 | 228 | "statusText": "No Content" |
228 | 229 | }, |
229 | | - "startedDateTime": "2026-04-16T20:03:10.223Z", |
230 | | - "time": 379 |
| 230 | + "startedDateTime": "2026-04-03T21:03:04.306Z", |
| 231 | + "time": 293 |
231 | 232 | } |
232 | 233 | ], |
233 | 234 | "pages": [], |
234 | | - "version": "1.2", |
235 | | - "_recordingName": "Service Accounts/Get an access token for a service account returns \"OK\" response" |
| 235 | + "version": "1.2" |
236 | 236 | } |
237 | 237 | } |
0 commit comments