Delete a rotation
Important note: Shift-based schedules use the V3 API and are not compatible with V2 automations. To create automations for Shift-Based Schedules, you need to:
- Update your automations to use the V3 API for all new shift-based schedules
- Keep the V2 endpoint for your existing schedules
An upgrade tool for existing schedules is coming soon; your legacy schedules will keep working in the meantime. Learn more.
Delete a rotation and all its events.
On deletion, past events are preserved in the audit history, the current active event is truncated to the deletion time, and future events are removed.
Authorization
api_key Authorization<token>
The API Key with format Token token=<API_KEY>
In: header
Path Parameters
id*string
The ID of the schedule.
rotation_id*string
The ID of the rotation.
Response Body
application/json
application/json
application/json
application/json