PUT
/
v1
/
schedule_rotation_active_days
/
{id}
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": "f458b0a9-50d7-49fa-96f3-13980cb745ef",
    "type": "schedule_rotation_active_days",
    "attributes": {
      "schedule_rotation_id": "82c51bab-8c30-43e3-b451-bec98d5d4c82",
      "day_name": "M",
      "created_at": "2025-03-22T23:04:40.706-07:00",
      "updated_at": "2025-03-22T23:04:42.098-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
data
object
required

Response

200
application/vnd.api+json
schedule_rotation_active_day updated
data
object