|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Users/Create a user returns null access role", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "caca59e8b77c5fba34ff14276808609d", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 115, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "_fromType": "array", |
| 20 | + "name": "accept", |
| 21 | + "value": "application/json" |
| 22 | + }, |
| 23 | + { |
| 24 | + "_fromType": "array", |
| 25 | + "name": "content-type", |
| 26 | + "value": "application/json" |
| 27 | + } |
| 28 | + ], |
| 29 | + "headersSize": 549, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"access_role\":null,\"disabled\":false,\"email\":\"[email protected]\",\"handle\":\"[email protected]\",\"name\":\"test user\"}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v1/user" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 273, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 273, |
| 45 | + "text": "{\"user\":{\"handle\":\"[email protected]\",\"name\":\"test user\",\"role\":null,\"title\":null,\"email\":\"[email protected]\",\"disabled\":true,\"access_role\":null,\"is_admin\":false,\"icon\":\"https://secure.gravatar.com/avatar/f979f58720feb88e09cc3d11ce3d15da?s=48&d=retro\",\"verified\":false}}\n" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 650, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 200, |
| 58 | + "statusText": "OK" |
| 59 | + }, |
| 60 | + "startedDateTime": "2023-07-10T18:58:47.635Z", |
| 61 | + "time": 624 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "af6170722860ba27e045b00c8baf0187", |
| 65 | + "_order": 0, |
| 66 | + "cache": {}, |
| 67 | + "request": { |
| 68 | + "bodySize": 0, |
| 69 | + "cookies": [], |
| 70 | + "headers": [ |
| 71 | + { |
| 72 | + "_fromType": "array", |
| 73 | + "name": "accept", |
| 74 | + "value": "application/json" |
| 75 | + } |
| 76 | + ], |
| 77 | + "headersSize": 520, |
| 78 | + "httpVersion": "HTTP/1.1", |
| 79 | + "method": "DELETE", |
| 80 | + "queryString": [], |
| 81 | + "url": "https://api.datadoghq.com/api/v1/user/test%40datadoghq.com" |
| 82 | + }, |
| 83 | + "response": { |
| 84 | + "bodySize": 39, |
| 85 | + "content": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "size": 39, |
| 88 | + "text": "{\"errors\":[\"User is already disabled\"]}" |
| 89 | + }, |
| 90 | + "cookies": [], |
| 91 | + "headers": [ |
| 92 | + { |
| 93 | + "name": "content-type", |
| 94 | + "value": "application/json" |
| 95 | + } |
| 96 | + ], |
| 97 | + "headersSize": 516, |
| 98 | + "httpVersion": "HTTP/1.1", |
| 99 | + "redirectURL": "", |
| 100 | + "status": 400, |
| 101 | + "statusText": "Bad Request" |
| 102 | + }, |
| 103 | + "startedDateTime": "2023-07-10T18:58:48.272Z", |
| 104 | + "time": 140 |
| 105 | + } |
| 106 | + ], |
| 107 | + "pages": [], |
| 108 | + "version": "1.2" |
| 109 | + } |
| 110 | +} |
0 commit comments