Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
schedule_rotation_active_day updated
The response is of type object
.
Update a specific schedule rotation active day by 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": "44e9b6ed-ef61-44b1-9a1b-271a38b10a99",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "500b2e5e-b9c4-4274-a946-31631b3189a1",
"day_name": "M",
"created_at": "2025-09-15T08:42:26.845-07:00",
"updated_at": "2025-09-15T08:42:27.757-07:00",
"active_time_attributes": [
{
"start_time": "10:30",
"end_time": "03:30"
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule_rotation_active_day updated
The response is of type object
.
Was this page helpful?
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": "44e9b6ed-ef61-44b1-9a1b-271a38b10a99",
"type": "schedule_rotation_active_days",
"attributes": {
"schedule_rotation_id": "500b2e5e-b9c4-4274-a946-31631b3189a1",
"day_name": "M",
"created_at": "2025-09-15T08:42:26.845-07:00",
"updated_at": "2025-09-15T08:42:27.757-07:00",
"active_time_attributes": [
{
"start_time": "10:30",
"end_time": "03:30"
}
]
}
}
}