PUT
/
v1
/
schedule_rotation_active_days
/
{id}
Update a schedule rotation active day
curl --request PUT \
  --url https://api.rootly.com/v1/schedule_rotation_active_days/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "schedule_rotation_active_days",
    "attributes": {
      "day_name": "S",
      "active_time_attributes": [
        {
          "start_time": "<string>",
          "end_time": "<string>"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "37a9e29a-3e97-41e6-b8f8-f8f86e9f19d5",
    "type": "schedule_rotation_active_days",
    "attributes": {
      "schedule_rotation_id": "9c6730c3-16a5-48a0-b5c9-b6627f4253b7",
      "day_name": "M",
      "created_at": "2025-07-09T12:42:58.653-07:00",
      "updated_at": "2025-07-09T12:43:01.001-07:00",
      "active_time_attributes": [
        {
          "start_time": "10:30",
          "end_time": "03:30"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

schedule_rotation_active_day updated

The response is of type object.