Updates a specific schedule by id
curl --request PUT \
--url https://api.rootly.com/v1/schedules/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "schedules",
"attributes": {
"name": "<string>",
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}
'{
"data": {
"id": "04c908c2-2fcf-4e51-a7b1-82f7cadea2d6",
"type": "schedules",
"attributes": {
"name": "Updated schedule name",
"description": "Updated schedule description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": {
"id": "ABC123",
"name": "Slack Channel"
},
"owner_user_id": 539,
"owner_group_ids": [
"ce11a80f-b092-4c26-a41f-672ad2e54cb4"
],
"created_at": "2025-12-18T12:17:37.842-08:00",
"updated_at": "2025-12-18T12:17:41.415-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "539",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
schedule updated
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/schedules/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "schedules",
"attributes": {
"name": "<string>",
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}
'{
"data": {
"id": "04c908c2-2fcf-4e51-a7b1-82f7cadea2d6",
"type": "schedules",
"attributes": {
"name": "Updated schedule name",
"description": "Updated schedule description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": {
"id": "ABC123",
"name": "Slack Channel"
},
"owner_user_id": 539,
"owner_group_ids": [
"ce11a80f-b092-4c26-a41f-672ad2e54cb4"
],
"created_at": "2025-12-18T12:17:37.842-08:00",
"updated_at": "2025-12-18T12:17:41.415-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "539",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}