Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
on call shadows configuration is is updated
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": "81af2f97-444f-4257-a542-532b20d0a2b2",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "d26fca42-c33f-490b-a50b-4574e44bc515",
"shadowable_type": "Schedule",
"shadowable_id": "d26fca42-c33f-490b-a50b-4574e44bc515",
"shadow_user_id": 391,
"starts_at": "2025-11-05T21:26:25.000-08:00",
"ends_at": "2025-11-06T19:26:25.000-08:00",
"created_at": "2025-11-05T19:26:25.032-08:00",
"updated_at": "2025-11-05T19:26:25.684-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": "81af2f97-444f-4257-a542-532b20d0a2b2",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "d26fca42-c33f-490b-a50b-4574e44bc515",
"shadowable_type": "Schedule",
"shadowable_id": "d26fca42-c33f-490b-a50b-4574e44bc515",
"shadow_user_id": 391,
"starts_at": "2025-11-05T21:26:25.000-08:00",
"ends_at": "2025-11-06T19:26:25.000-08:00",
"created_at": "2025-11-05T19:26:25.032-08:00",
"updated_at": "2025-11-05T19:26:25.684-08:00"
}
}
}