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

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
data
object
required

Was this page helpful?