Skip to main content
DELETE
/
v1
/
schedule_rotations
/
{id}
Delete a schedule rotation
curl --request DELETE \
  --url https://api.rootly.com/v1/schedule_rotations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "57bc01b5-1e5a-4ec2-a3f8-1ce428cbd67d",
    "type": "schedule_rotations",
    "attributes": {
      "schedule_id": "a07d4376-b1db-4063-85f3-99f95fdc0ba0",
      "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": []
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

schedule_rotation deleted

data
object
required