DELETE
/
v1
/
schedule_rotations
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/schedule_rotations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "ca2aa679-73e6-48da-980f-c4a49eea9f38",
    "type": "schedule_rotations",
    "attributes": {
      "schedule_id": "2d9dbc3f-8f1f-4f37-a152-9e2dc9ee04b7",
      "name": "Schedule Rotation 13",
      "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

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200
application/vnd.api+json

schedule_rotation deleted

The response is of type object.