Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
ScheduleRotations
Delete a schedule rotation
ScheduleRotations
Delete a schedule rotation
Delete a specific schedule rotation by id
DELETE
/
v1
/
schedule_rotations
/
{id}
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a5be4cdc-2423-4800-aa68-136eb09a42be",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "9d310d5b-fec1-409a-a77f-ff11682665e2",
"name": "Schedule Rotation 12",
"position": 1,
"schedule_rotationable_type": "ScheduleDailyRotation",
"active_all_week": true,
"active_days": [],
"active_time_type": "all_day",
"time_zone": "UTC",
"schedule_rotationable_attributes": {
"handoff_time": "17:00"
},
"active_time_attributes": []
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/vnd.api+json
schedule_rotation deleted
Unique ID of the schedule rotation
Available options:
schedule_rotations
The ID of parent schedule
The name of the schedule rotation
Schedule rotation type
Available options:
ScheduleDailyRotation
, ScheduleWeeklyRotation
, ScheduleBiweeklyRotation
, ScheduleMonthlyRotation
, ScheduleCustomRotation
Hand off time for daily rotation
Position of the schedule rotation
Schedule rotation active all week?
Schedule rotation active days
Available options:
S
, M
, T
, W
, R
, F
, U
A valid IANA time zone name.
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/schedule_rotations/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a5be4cdc-2423-4800-aa68-136eb09a42be",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "9d310d5b-fec1-409a-a77f-ff11682665e2",
"name": "Schedule Rotation 12",
"position": 1,
"schedule_rotationable_type": "ScheduleDailyRotation",
"active_all_week": true,
"active_days": [],
"active_time_type": "all_day",
"time_zone": "UTC",
"schedule_rotationable_attributes": {
"handoff_time": "17:00"
},
"active_time_attributes": []
}
}
}