1
1
interactions :
2
2
- request :
3
- body : ' {"data":{"attributes":{"from":1672527600000,"indexes":["test-index","test-index-2"],"query":{"host":"abc","service":"xyz"},"to":1704063600000}}}'
3
+ body : ' {"data":{"attributes":{"from":1672527600000,"indexes":["test-index","test-index-2"],"query":{"host":"abc","service":"xyz"},"to":1704063600000},"type":"create_deletion_req" }}'
4
4
headers :
5
5
accept :
6
6
- application/json
@@ -10,8 +10,8 @@ interactions:
10
10
uri : https://api.datadoghq.com/api/v2/deletion/data/logs
11
11
response :
12
12
body :
13
- string :
' {"data":{"id":"523 ","type":"deletion_request","attributes":{"created_at":"2024-12-05T09:23:42.016613164Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
14
- service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"pending","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2024-12-05T09:23:42.016613164Z "}},"meta":{"product":"logs"}}'
13
+ string :
' {"data":{"id":"753 ","type":"deletion_request","attributes":{"created_at":"2025-01-15T14:26:09.447960191Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
14
+ service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"pending","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2025-01-15T14:26:09.447960191Z "}},"meta":{"product":"logs"}}'
15
15
headers :
16
16
content-type :
17
17
- application/vnd.api+json
@@ -24,11 +24,11 @@ interactions:
24
24
accept :
25
25
- application/json
26
26
method : PUT
27
- uri : https://api.datadoghq.com/api/v2/deletion/requests/523 /cancel
27
+ uri : https://api.datadoghq.com/api/v2/deletion/requests/753 /cancel
28
28
response :
29
29
body :
30
- string :
' {"data":{"id":"523 ","type":"deletion_request","attributes":{"created_at":"2024-12-05T09:23:42.016613Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
31
- service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"canceled","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2024-12-05T09:23:42.384299Z "}},"meta":{"product":"logs","request_status":"canceled"}}'
30
+ string :
' {"data":{"id":"753 ","type":"deletion_request","attributes":{"created_at":"2025-01-15T14:26:09.44796Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
31
+ service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"canceled","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2025-01-15T14:26:10.016496Z "}},"meta":{"product":"logs","request_status":"canceled"}}'
32
32
headers :
33
33
content-type :
34
34
- application/vnd.api+json
@@ -41,11 +41,11 @@ interactions:
41
41
accept :
42
42
- application/json
43
43
method : PUT
44
- uri : https://api.datadoghq.com/api/v2/deletion/requests/523 /cancel
44
+ uri : https://api.datadoghq.com/api/v2/deletion/requests/753 /cancel
45
45
response :
46
46
body :
47
- string :
' {"data":{"id":"523 ","type":"deletion_request","attributes":{"created_at":"2024-12-05T09:23:42.016613Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
48
- service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"canceled","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2024-12-05T09:23:42.384299Z "}},"meta":{"product":"logs","request_status":"canceled"}}'
47
+ string :
' {"data":{"id":"753 ","type":"deletion_request","attributes":{"created_at":"2025-01-15T14:26:09.44796Z ","created_by":"[email protected] ","from_time":1672527600000,"indexes":["test-index","test-index-2"],"is_created":false,"org_id":321813,"product":"logs","query":"host:abc
48
+ service:xyz","starting_at":"0001-01-01T00:00:00Z","status":"canceled","to_time":1704063600000,"total_unrestricted":0,"updated_at":"2025-01-15T14:26:10.016496Z "}},"meta":{"product":"logs","request_status":"canceled"}}'
49
49
headers :
50
50
content-type :
51
51
- application/vnd.api+json
0 commit comments