1
1
interactions :
2
2
- request :
3
- body : ' {"data":{"attributes":{"name":"Test-Update_a_restriction_policy_returns_OK_response-1676316303 "},"type":"roles"}}'
3
+ body : ' {"data":{"attributes":{"name":"Test-Update_a_restriction_policy_returns_OK_response-1678126638 "},"type":"roles"}}'
4
4
headers :
5
5
accept :
6
6
- application/json
@@ -10,7 +10,7 @@ interactions:
10
10
uri : https://api.datadoghq.com/api/v2/roles
11
11
response :
12
12
body :
13
- string : ' {"data":{"type":"roles","id":"1ddd79a8-abd4 -11ed-912f -da7ad0900002","attributes":{"name":"Test-Update_a_restriction_policy_returns_OK_response-1676316303 ","created_at":"2023-02-13T19:25:04.081658 +00:00","modified_at":"2023-02-13T19:25:04.113751 +00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"},{"type":"permissions","id":"417ba636-2dce-11eb-84c0-6bce5b0d9de0"},{"type":"permissions","id":"12efc20e-d36c-11eb-a9b8-da7ad0900002"},{"type":"permissions","id":"7605ef24-f376-11eb-b90b-da7ad0900002"},{"type":"permissions","id":"b6bf9ac6-9a59-11ec-8480-da7ad0900002"},{"type":"permissions","id":"f8e941cf-e746-11ec-b22d-da7ad0900002"},{"type":"permissions","id":"6c5ad874-7aff-11ed-a5cd-da7ad0900002"}]}}}}
13
+ string : ' {"data":{"type":"roles","id":"2186776c-bc4b -11ed-ac0f -da7ad0900002","attributes":{"name":"Test-Update_a_restriction_policy_returns_OK_response-1678126638 ","created_at":"2023-03-06T18:17:18.938117 +00:00","modified_at":"2023-03-06T18:17:18.971241 +00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"},{"type":"permissions","id":"417ba636-2dce-11eb-84c0-6bce5b0d9de0"},{"type":"permissions","id":"12efc20e-d36c-11eb-a9b8-da7ad0900002"},{"type":"permissions","id":"7605ef24-f376-11eb-b90b-da7ad0900002"},{"type":"permissions","id":"b6bf9ac6-9a59-11ec-8480-da7ad0900002"},{"type":"permissions","id":"f8e941cf-e746-11ec-b22d-da7ad0900002"},{"type":"permissions","id":"6c5ad874-7aff-11ed-a5cd-da7ad0900002"}]}}}}
14
14
15
15
'
16
16
headers :
@@ -20,7 +20,7 @@ interactions:
20
20
code : 200
21
21
message : OK
22
22
- request :
23
- body : ' {"data":{"attributes":{"email":"Test-Update_a_restriction_policy_returns_OK_response-1676316303 @datadoghq.com","title":"user
23
+ body : ' {"data":{"attributes":{"email":"Test-Update_a_restriction_policy_returns_OK_response-1678126638 @datadoghq.com","title":"user
24
24
title"},"type":"users"}}'
25
25
headers :
26
26
accept :
@@ -31,7 +31,7 @@ interactions:
31
31
uri : https://api.datadoghq.com/api/v2/users
32
32
response :
33
33
body :
34
- string : ' {"data":{"type":"users","id":"1e1c20a6-abd4 -11ed-8f6f-aef7be6704b7 ","attributes":{"name":null,"handle":"test-update_a_restriction_policy_returns_ok_response-1676316303 @datadoghq.com","created_at":"2023-02-13T19:25:04.494176 +00:00","modified_at":"2023-02-13T19:25:04.498139 +00:00","email":"test-update_a_restriction_policy_returns_ok_response-1676316303 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/5e45dad0fda850cc1e7c029b0297c5b6 ?s=48&d=retro","title":"user
34
+ string : ' {"data":{"type":"users","id":"21b46718-bc4b -11ed-a2f5-764440ef0bc1 ","attributes":{"name":null,"handle":"test-update_a_restriction_policy_returns_ok_response-1678126638 @datadoghq.com","created_at":"2023-03-06T18:17:19.240151 +00:00","modified_at":"2023-03-06T18:17:19.244292 +00:00","email":"test-update_a_restriction_policy_returns_ok_response-1678126638 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/aedbf1acbf22049a33e6e48c70252b04 ?s=48&d=retro","title":"user
35
35
title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}
36
36
37
37
'
@@ -42,18 +42,18 @@ interactions:
42
42
code : 201
43
43
message : Created
44
44
- request :
45
- body : ' {"data":{"id":"1e1c20a6-abd4 -11ed-8f6f-aef7be6704b7 ","type":"users"}}'
45
+ body : ' {"data":{"id":"21b46718-bc4b -11ed-a2f5-764440ef0bc1 ","type":"users"}}'
46
46
headers :
47
47
accept :
48
48
- application/json
49
49
content-type :
50
50
- application/json
51
51
method : POST
52
- uri : https://api.datadoghq.com/api/v2/roles/1ddd79a8-abd4 -11ed-912f -da7ad0900002/users
52
+ uri : https://api.datadoghq.com/api/v2/roles/2186776c-bc4b -11ed-ac0f -da7ad0900002/users
53
53
response :
54
54
body :
55
- string : ' {"data":[{"type":"users","id":"1e1c20a6-abd4 -11ed-8f6f-aef7be6704b7 ","attributes":{"name":null,"handle":"test-update_a_restriction_policy_returns_ok_response-1676316303 @datadoghq.com","created_at":"2023-02-13T19:25:04.494176 +00:00","modified_at":"2023-02-13T19:25:04.498139 +00:00","email":"test-update_a_restriction_policy_returns_ok_response-1676316303 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/5e45dad0fda850cc1e7c029b0297c5b6 ?s=48&d=retro","title":"user
56
- title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"1ddd79a8-abd4 -11ed-912f -da7ad0900002"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"meta":{"page":{"total_count":1}}}
55
+ string : ' {"data":[{"type":"users","id":"21b46718-bc4b -11ed-a2f5-764440ef0bc1 ","attributes":{"name":null,"handle":"test-update_a_restriction_policy_returns_ok_response-1678126638 @datadoghq.com","created_at":"2023-03-06T18:17:19.240151 +00:00","modified_at":"2023-03-06T18:17:19.244292 +00:00","email":"test-update_a_restriction_policy_returns_ok_response-1678126638 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/aedbf1acbf22049a33e6e48c70252b04 ?s=48&d=retro","title":"user
56
+ title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"2186776c-bc4b -11ed-ac0f -da7ad0900002"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"meta":{"page":{"total_count":1}}}
57
57
58
58
'
59
59
headers :
@@ -63,17 +63,17 @@ interactions:
63
63
code : 200
64
64
message : OK
65
65
- request :
66
- body : ' {"data":{"attributes":{"bindings":[{"principals":["org:4dee724d-00cc-11ea-a77b-570c9d03c6c5"],"relation":"editor"}]},"id":"dashboard:abc-def-ghi ","type":"restriction_policy"}}'
66
+ body : ' {"data":{"attributes":{"bindings":[{"principals":["org:4dee724d-00cc-11ea-a77b-570c9d03c6c5"],"relation":"editor"}]},"id":"dashboard:test-update ","type":"restriction_policy"}}'
67
67
headers :
68
68
accept :
69
69
- application/json
70
70
content-type :
71
71
- application/json
72
72
method : POST
73
- uri : https://api.datadoghq.com/api/v2/restriction_policy/dashboard%3Aabc-def-ghi
73
+ uri : https://api.datadoghq.com/api/v2/restriction_policy/dashboard%3Atest-update
74
74
response :
75
75
body :
76
- string : ' {"data":{"type":"restriction_policy","id":"dashboard:abc-def-ghi ","attributes":{"bindings":[{"relation":"editor","principals":["org:4dee724d-00cc-11ea-a77b-570c9d03c6c5"]}]}}}
76
+ string : ' {"data":{"type":"restriction_policy","id":"dashboard:test-update ","attributes":{"bindings":[{"relation":"editor","principals":["org:4dee724d-00cc-11ea-a77b-570c9d03c6c5"]}]}}}
77
77
78
78
'
79
79
headers :
@@ -88,7 +88,7 @@ interactions:
88
88
accept :
89
89
- ' */*'
90
90
method : DELETE
91
- uri : https://api.datadoghq.com/api/v2/users/1e1c20a6-abd4 -11ed-8f6f-aef7be6704b7
91
+ uri : https://api.datadoghq.com/api/v2/users/21b46718-bc4b -11ed-a2f5-764440ef0bc1
92
92
response :
93
93
body :
94
94
string : ' '
@@ -102,7 +102,7 @@ interactions:
102
102
accept :
103
103
- ' */*'
104
104
method : DELETE
105
- uri : https://api.datadoghq.com/api/v2/roles/1ddd79a8-abd4 -11ed-912f -da7ad0900002
105
+ uri : https://api.datadoghq.com/api/v2/roles/2186776c-bc4b -11ed-ac0f -da7ad0900002
106
106
response :
107
107
body :
108
108
string : ' '
0 commit comments