Update a specific on call shadow configuration by id
curl --request PUT \
--url https://api.rootly.com/v1/on_call_shadows/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "on_call_shadows",
"attributes": {
"schedule_id": "<string>",
"shadowable_type": "User",
"shadowable_id": "<string>",
"shadow_user_id": 123,
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z"
}
}
}
'{
"data": {
"id": "16b747e9-ea49-4e79-9647-5b1ac08bb65b",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "f9f4de38-15bd-4beb-b523-42b8448b3dab",
"shadowable_type": "Schedule",
"shadowable_id": "f9f4de38-15bd-4beb-b523-42b8448b3dab",
"shadow_user_id": 442,
"starts_at": "2025-12-24T11:27:25.000-08:00",
"ends_at": "2025-12-25T09:27:25.000-08:00",
"created_at": "2025-12-24T09:27:25.401-08:00",
"updated_at": "2025-12-24T09:27:25.949-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
on call shadows configuration is is updated
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/on_call_shadows/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "on_call_shadows",
"attributes": {
"schedule_id": "<string>",
"shadowable_type": "User",
"shadowable_id": "<string>",
"shadow_user_id": 123,
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z"
}
}
}
'{
"data": {
"id": "16b747e9-ea49-4e79-9647-5b1ac08bb65b",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "f9f4de38-15bd-4beb-b523-42b8448b3dab",
"shadowable_type": "Schedule",
"shadowable_id": "f9f4de38-15bd-4beb-b523-42b8448b3dab",
"shadow_user_id": 442,
"starts_at": "2025-12-24T11:27:25.000-08:00",
"ends_at": "2025-12-25T09:27:25.000-08:00",
"created_at": "2025-12-24T09:27:25.401-08:00",
"updated_at": "2025-12-24T09:27:25.949-08:00"
}
}
}