11interactions :
22- request :
3- body : ' {"data":{"attributes":{"email":"Test-Get_team_on_call_users_returns_OK_response-1748503817 @datadoghq.com","title":"user
3+ body : ' {"data":{"attributes":{"email":"Test-Get_team_on_call_users_returns_OK_response-1763469869 @datadoghq.com","title":"user
44 title"},"type":"users"}}'
55 headers :
66 accept :
@@ -11,8 +11,8 @@ interactions:
1111 uri : https://api.datadoghq.com/api/v2/users
1212 response :
1313 body :
14- string : ' {"data":{"type":"users","id":"c534e9e3-3c5e -11f0-b6eb-6e406f40657f ","attributes":{"name":null,"handle":"test-get_team_on_call_users_returns_ok_response-1748503817 @datadoghq.com","created_at":"2025-05-29T07:30:18.165739 +00:00","modified_at":"2025-05-29T07:30:18.165739 +00:00","email":"test-get_team_on_call_users_returns_ok_response-1748503817 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/a9b817a05a2ad95be147030f20ff95fb ?s=48&d=retro","title":"user
15- 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"}}}}}
14+ string : ' {"data":{"type":"users","id":"537c2919-c47c -11f0-9b08-ce88c9776d95 ","attributes":{"name":null,"handle":"test-get_team_on_call_users_returns_ok_response-1763469869 @datadoghq.com","created_at":"2025-11-18T12:44:30.412060 +00:00","modified_at":"2025-11-18T12:44:30.412060 +00:00","email":"test-get_team_on_call_users_returns_ok_response-1763469869 @datadoghq.com","icon":"https://secure.gravatar.com/avatar/e1a08271c5b3a54aaa074185b1550add ?s=48&d=retro","title":"user
15+ title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending","last_login_time":null },"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}
1616
1717 '
1818 headers :
@@ -22,7 +22,7 @@ interactions:
2222 code : 201
2323 message : Created
2424- request :
25- body : ' {"data":{"attributes":{"handle":"test-handle-aa0dbd3d9b27ea9e ","name":"test-name-aa0dbd3d9b27ea9e "},"type":"team"}}'
25+ body : ' {"data":{"attributes":{"handle":"test-handle-b0479fe6a2cd9873 ","name":"test-name-b0479fe6a2cd9873 "},"type":"team"}}'
2626 headers :
2727 accept :
2828 - application/json
@@ -32,18 +32,16 @@ interactions:
3232 uri : https://api.datadoghq.com/api/v2/team
3333 response :
3434 body :
35- string : ' {"data":{"type":"team","id":"6a8339f9-9d86-4948-a469-1b0cbef769bb","attributes":{"name":"test-name-aa0dbd3d9b27ea9e","handle":"test-handle-aa0dbd3d9b27ea9e","summary":null,"description":null,"avatar":null,"banner":1,"visible_modules":[],"hidden_modules":[],"created_at":"2025-05-29T07:30:18.898463+00:00","modified_at":"2025-05-29T07:30:18.898474+00:00","user_count":0,"link_count":0},"relationships":{"team_links":{"links":{"related":"/api/v2/team/6a8339f9-9d86-4948-a469-1b0cbef769bb/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/6a8339f9-9d86-4948-a469-1b0cbef769bb/permission-settings"}}}}}
36-
37- '
35+ string : ' {"data":{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c","type":"team","attributes":{"avatar":null,"banner":15,"created_at":"2025-11-18T12:44:31.250613+00:00","description":null,"handle":"test-handle-b0479fe6a2cd9873","hidden_modules":[],"link_count":0,"modified_at":"2025-11-18T12:44:31.250613+00:00","name":"test-name-b0479fe6a2cd9873","summary":null,"user_count":0,"visible_modules":[]},"relationships":{"team_links":{"data":[],"links":{"related":"/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c/permission-settings"}}}}}'
3836 headers :
3937 content-type :
40- - application/json
38+ - application/vnd.api+ json
4139 status :
4240 code : 201
4341 message : Created
4442- request :
45- body : ' {"data":{"attributes":{"layers":[{"effective_date":"2025-05-19T07:30:17.381Z ","end_date":"2025-06-08T07:30:17.381Z ","interval":{"days":1},"members":[{"user":{"id":"c534e9e3-3c5e -11f0-b6eb-6e406f40657f "}}],"name":"Layer
46- 1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-05-24T07:30:17.381Z "}],"name":"Test-Get_team_on_call_users_returns_OK_response-1748503817 ","time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}},"type":"schedules"}}'
43+ body : ' {"data":{"attributes":{"layers":[{"effective_date":"2025-11-08T12:44:29.751Z ","end_date":"2025-11-28T12:44:29.751Z ","interval":{"days":1},"members":[{"user":{"id":"537c2919-c47c -11f0-9b08-ce88c9776d95 "}}],"name":"Layer
44+ 1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-11-13T12:44:29.751Z "}],"name":"Test-Get_team_on_call_users_returns_OK_response-1763469869 ","time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}},"type":"schedules"}}'
4745 headers :
4846 accept :
4947 - application/json
@@ -53,15 +51,15 @@ interactions:
5351 uri : https://api.datadoghq.com/api/v2/on-call/schedules
5452 response :
5553 body :
56- string : ' {"data":{"id":"ba6c57a1-bb93-4f5a-a22b-174f84b0c5d6 ","type":"schedules","attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1748503817 ","time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"d12469b6-85d8-461a-89c6-61fc956c1446 ","type":"layers"}]},"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}}}}'
54+ string : ' {"data":{"id":"3be141a8-848d-4af1-86de-e5d76cd6e4fc ","type":"schedules","attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1763469869 ","time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"0c2a552f-a2e0-47ca-ad8b-4407608b3f67 ","type":"layers"}]},"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}}}}'
5755 headers :
5856 content-type :
5957 - application/vnd.api+json
6058 status :
6159 code : 201
6260 message : Created
6361- request :
64- body : ' {"data":{"attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1748503817 ","resolve_page_on_policy_end":true,"retries":2,"steps":[{"assignment":"default","escalate_after_seconds":3600,"targets":[{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"teams"},{"id":"ba6c57a1-bb93-4f5a-a22b-174f84b0c5d6 ","type":"schedules"},{"id":"c534e9e3-3c5e -11f0-b6eb-6e406f40657f ","type":"users"}]},{"assignment":"round-robin","escalate_after_seconds":3600,"targets":[{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"teams"}]}]},"relationships":{"teams":{"data":[{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"teams"}]}},"type":"policies"}}'
62+ body : ' {"data":{"attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1763469869 ","resolve_page_on_policy_end":true,"retries":2,"steps":[{"assignment":"default","escalate_after_seconds":3600,"targets":[{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"teams"},{"id":"3be141a8-848d-4af1-86de-e5d76cd6e4fc ","type":"schedules"},{"id":"537c2919-c47c -11f0-9b08-ce88c9776d95 ","type":"users"}]},{"assignment":"round-robin","escalate_after_seconds":3600,"targets":[{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"teams"}]}]},"relationships":{"teams":{"data":[{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"teams"}]}},"type":"policies"}}'
6563 headers :
6664 accept :
6765 - application/json
@@ -71,25 +69,25 @@ interactions:
7169 uri : https://api.datadoghq.com/api/v2/on-call/escalation-policies
7270 response :
7371 body :
74- string : ' {"data":{"id":"5cfa8139-510a-4965-8f10-dc79488fcd89 ","type":"policies","attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1748503817 ","resolve_page_on_policy_end":true,"retries":2},"relationships":{"steps":{"data":[{"id":"03c363ed-929e-4fa1-8397-e80a5b422648 ","type":"steps"},{"id":"0c678f92-8639-4d72-ad5a-f40307c1d935 ","type":"steps"}]},"teams":{"data":[{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"teams"}]}}}}'
72+ string : ' {"data":{"id":"5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7 ","type":"policies","attributes":{"name":"Test-Get_team_on_call_users_returns_OK_response-1763469869 ","resolve_page_on_policy_end":true,"retries":2},"relationships":{"steps":{"data":[{"id":"11f436b4-85bf-47c8-ab21-e851974ccf60 ","type":"steps"},{"id":"6f0da5a9-4b7d-4d12-a859-4799599f074d ","type":"steps"}]},"teams":{"data":[{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"teams"}]}}}}'
7573 headers :
7674 content-type :
7775 - application/vnd.api+json
7876 status :
7977 code : 201
8078 message : Created
8179- request :
82- body : ' {"data":{"attributes":{"rules":[{"actions":[],"policy_id":"5cfa8139-510a-4965-8f10-dc79488fcd89 ","query":"","urgency":"low"}]},"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"team_routing_rules"}}'
80+ body : ' {"data":{"attributes":{"rules":[{"actions":[],"policy_id":"5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7 ","query":"","urgency":"low"}]},"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"team_routing_rules"}}'
8381 headers :
8482 accept :
8583 - application/json
8684 content-type :
8785 - application/json
8886 method : PUT
89- uri : https://api.datadoghq.com/api/v2/on-call/teams/6a8339f9-9d86-4948-a469-1b0cbef769bb /routing-rules
87+ uri : https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c /routing-rules
9088 response :
9189 body :
92- string : ' {"data":{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb ","type":"team_routing_rules","relationships":{"rules":{"data":[{"id":"virtual-6a8339f9-9d86-4948-a469-1b0cbef769bb -rule-0","type":"team_routing_rules"}]}}}}'
90+ string : ' {"data":{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c ","type":"team_routing_rules","relationships":{"rules":{"data":[{"id":"virtual-11ba6480-761b-4dbd-b4a0-c77a9df6740c -rule-0","type":"team_routing_rules"}]}}}}'
9391 headers :
9492 content-type :
9593 - application/vnd.api+json
@@ -102,57 +100,69 @@ interactions:
102100 accept :
103101 - application/json
104102 method : GET
105- uri : https://api.datadoghq.com/api/v2/on-call/teams/6a8339f9-9d86-4948-a469-1b0cbef769bb /on-call?include=responders%2Cescalations.responders
103+ uri : https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c /on-call?include=responders%2Cescalations.responders
106104 response :
107105 body :
108- string : ' {"data":{"id":"6a8339f9-9d86-4948-a469-1b0cbef769bb-1748503821 ","type":"team_oncall_responders","relationships":{"escalations":{"data":[]},"responders":{"data":[{"id":"c534e9e3-3c5e -11f0-b6eb-6e406f40657f ","type":"users"}]}}},"included":[{"id":"c534e9e3-3c5e -11f0-b6eb-6e406f40657f ","type":"users","attributes":{"email":"test-get_team_on_call_users_returns_ok_response-1748503817 @datadoghq.com","name":"","status":"pending"}}]}'
106+ string : ' {"data":{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c-1763469873 ","type":"team_oncall_responders","relationships":{"escalations":{"data":[]},"responders":{"data":[{"id":"537c2919-c47c -11f0-9b08-ce88c9776d95 ","type":"users"}]}}},"included":[{"id":"537c2919-c47c -11f0-9b08-ce88c9776d95 ","type":"users","attributes":{"email":"test-get_team_on_call_users_returns_ok_response-1763469869 @datadoghq.com","name":"","status":"pending"}}]}'
109107 headers :
110108 content-type :
111109 - application/vnd.api+json
112110 status :
113111 code : 200
114112 message : OK
115113- request :
116- body : null
114+ body : ' {"data":{"attributes":{"rules":[]},"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c","type":"team_routing_rules"}} '
117115 headers :
118116 accept :
119- - ' */*'
120- method : DELETE
121- uri : https://api.datadoghq.com/api/v2/on-call/escalation-policies/5cfa8139-510a-4965-8f10-dc79488fcd89
117+ - application/json
118+ content-type :
119+ - application/json
120+ method : PUT
121+ uri : https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c/routing-rules
122122 response :
123123 body :
124- string : ' {"errors":[{"title":"Generic Error","detail":"policy[5cfa8139-510a-4965-8f10-dc79488fcd89]
125- is in use"}]}'
124+ string : ' {"data":{"id":"11ba6480-761b-4dbd-b4a0-c77a9df6740c","type":"team_routing_rules","relationships":{"rules":{"data":[]}}}}'
126125 headers :
127126 content-type :
128127 - application/vnd.api+json
129128 status :
130- code : 409
131- message : Conflict
129+ code : 200
130+ message : OK
132131- request :
133132 body : null
134133 headers :
135134 accept :
136135 - ' */*'
137136 method : DELETE
138- uri : https://api.datadoghq.com/api/v2/on-call/schedules/ba6c57a1-bb93-4f5a-a22b-174f84b0c5d6
137+ uri : https://api.datadoghq.com/api/v2/on-call/escalation-policies/5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7
139138 response :
140139 body :
141- string : ' {"errors":[{"title":"Generic Error","detail":"schedule[ba6c57a1-bb93-4f5a-a22b-174f84b0c5d6]
142- is in use"}]}'
140+ string : ' '
141+ headers : {}
142+ status :
143+ code : 204
144+ message : No Content
145+ - request :
146+ body : null
143147 headers :
144- content-type :
145- - application/vnd.api+json
148+ accept :
149+ - ' */*'
150+ method : DELETE
151+ uri : https://api.datadoghq.com/api/v2/on-call/schedules/3be141a8-848d-4af1-86de-e5d76cd6e4fc
152+ response :
153+ body :
154+ string : ' '
155+ headers : {}
146156 status :
147- code : 409
148- message : Conflict
157+ code : 204
158+ message : No Content
149159- request :
150160 body : null
151161 headers :
152162 accept :
153163 - ' */*'
154164 method : DELETE
155- uri : https://api.datadoghq.com/api/v2/team/6a8339f9-9d86-4948-a469-1b0cbef769bb
165+ uri : https://api.datadoghq.com/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c
156166 response :
157167 body :
158168 string : ' '
@@ -166,7 +176,7 @@ interactions:
166176 accept :
167177 - ' */*'
168178 method : DELETE
169- uri : https://api.datadoghq.com/api/v2/users/c534e9e3-3c5e -11f0-b6eb-6e406f40657f
179+ uri : https://api.datadoghq.com/api/v2/users/537c2919-c47c -11f0-9b08-ce88c9776d95
170180 response :
171181 body :
172182 string : ' '
0 commit comments