Delete a specific schedule rotation by id
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "48214d4a-f99e-47e5-92a6-5763eabc9399",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "65a5a7a1-d848-43e6-aacc-f6998df5c169",
"name": "Schedule Rotation 39",
"position": 1,
"schedule_rotationable_type": "ScheduleDailyRotation",
"active_all_week": true,
"active_days": [],
"active_time_type": "all_day",
"time_zone": "UTC",
"start_time": null,
"end_time": null,
"schedule_rotationable_attributes": {
"handoff_time": "17:00"
},
"active_time_attributes": []
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "48214d4a-f99e-47e5-92a6-5763eabc9399",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "65a5a7a1-d848-43e6-aacc-f6998df5c169",
"name": "Schedule Rotation 39",
"position": 1,
"schedule_rotationable_type": "ScheduleDailyRotation",
"active_all_week": true,
"active_days": [],
"active_time_type": "all_day",
"time_zone": "UTC",
"start_time": null,
"end_time": null,
"schedule_rotationable_attributes": {
"handoff_time": "17:00"
},
"active_time_attributes": []
}
}
}