Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
schedule_rotation deleted
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": "5a1383e8-8baa-4db0-b1df-44f21b8a75c3",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "3f8b97f5-8c83-4017-9b84-bd50c027b403",
"name": "Schedule Rotation 13",
"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": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule_rotation deleted
Show child attributes
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "5a1383e8-8baa-4db0-b1df-44f21b8a75c3",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "3f8b97f5-8c83-4017-9b84-bd50c027b403",
"name": "Schedule Rotation 13",
"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": []
}
}
}