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": "6025c287-a155-4939-960d-104b969c19dd",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "ce9852e7-b049-4bd9-a13b-0188e048476c",
"name": "Schedule Rotation 29",
"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
Unique ID of the schedule rotation
schedule_rotations Show child attributes
The ID of parent schedule
The name of the schedule rotation
Schedule rotation type
ScheduleDailyRotation, ScheduleWeeklyRotation, ScheduleBiweeklyRotation, ScheduleMonthlyRotation, ScheduleCustomRotation Position of the schedule rotation
Schedule rotation active all week?
Schedule rotation active days
S, M, T, W, R, F, U A valid IANA time zone name.
ISO8601 date and time when rotation starts. Shifts will only be created after this time.
ISO8601 date and time when rotation ends. Shifts will only be created before this time.
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "6025c287-a155-4939-960d-104b969c19dd",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "ce9852e7-b049-4bd9-a13b-0188e048476c",
"name": "Schedule Rotation 29",
"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": []
}
}
}