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
Schedules
Delete a schedule
Schedules
Delete a schedule
Delete a specific schedule by id
DELETE
/
v1
/
schedules
/
{id}
curl --request DELETE \
--url https://api.rootly.com/v1/schedules/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "e221befe-0bb2-4c54-a3b4-8c3bcc31f0ea",
"type": "schedules",
"attributes": {
"name": "Schedule 9",
"description": "Schedule description",
"all_time_coverage": false,
"slack_user_group": {},
"owner_user_id": 441,
"owner_group_ids": [],
"created_at": "2025-03-07T00:08:49.903-08:00",
"updated_at": "2025-03-07T00:08:55.874-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "441",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/vnd.api+json
schedule deleted
Unique id of schedule
Available options:
schedules
The name of the schedule
Date of creation
Date of last update
The description of the schedule
24/7 coverage of the schedule
Owning teams.
ID of user assigned as owner of the schedule
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/schedules/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "e221befe-0bb2-4c54-a3b4-8c3bcc31f0ea",
"type": "schedules",
"attributes": {
"name": "Schedule 9",
"description": "Schedule description",
"all_time_coverage": false,
"slack_user_group": {},
"owner_user_id": 441,
"owner_group_ids": [],
"created_at": "2025-03-07T00:08:49.903-08:00",
"updated_at": "2025-03-07T00:08:55.874-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "441",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}