Schedules_v3
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.
delete/v3/schedules/{id}/rotations/{rotation_id}
Request
- Base URLhttps://api.pagerduty.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ID of the schedule.
rotation_idstring required
The ID of the rotation.
Response
Rotation deleted successfully
Changes
No recorded changes to this operation across all 1 revision of this API.