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>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}'
{
"data": {
"id": "8fa74b48-6060-4685-800e-501e6d1a1bf4",
"type": "schedules",
"attributes": {
"name": "Updated schedule name",
"description": "Updated schedule description",
"all_time_coverage": true,
"slack_user_group": {},
"owner_user_id": 424,
"owner_group_ids": [
"3e35a5e8-b3fc-4af7-a38b-90bd8c6c8dbf"
],
"created_at": "2025-08-05T00:34:51.831-07:00",
"updated_at": "2025-08-05T00:34:57.782-07:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "424",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule updated
The response is of type object
.
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>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}'
{
"data": {
"id": "8fa74b48-6060-4685-800e-501e6d1a1bf4",
"type": "schedules",
"attributes": {
"name": "Updated schedule name",
"description": "Updated schedule description",
"all_time_coverage": true,
"slack_user_group": {},
"owner_user_id": 424,
"owner_group_ids": [
"3e35a5e8-b3fc-4af7-a38b-90bd8c6c8dbf"
],
"created_at": "2025-08-05T00:34:51.831-07:00",
"updated_at": "2025-08-05T00:34:57.782-07:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "424",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}