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": "cd8b7edf-559d-4bae-ad74-fe5493aa2298",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "bd8020ea-25e2-46d7-9f02-264ab99aa3c8",
"shadowable_type": "Schedule",
"shadowable_id": "bd8020ea-25e2-46d7-9f02-264ab99aa3c8",
"shadow_user_id": 358,
"starts_at": "2025-09-16T06:48:51.000-07:00",
"ends_at": "2025-09-17T04:48:51.000-07:00",
"created_at": "2025-09-16T04:48:51.822-07:00",
"updated_at": "2025-09-16T04:48:52.664-07: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": "cd8b7edf-559d-4bae-ad74-fe5493aa2298",
"type": "on_call_shadows",
"attributes": {
"schedule_id": "bd8020ea-25e2-46d7-9f02-264ab99aa3c8",
"shadowable_type": "Schedule",
"shadowable_id": "bd8020ea-25e2-46d7-9f02-264ab99aa3c8",
"shadow_user_id": 358,
"starts_at": "2025-09-16T06:48:51.000-07:00",
"ends_at": "2025-09-17T04:48:51.000-07:00",
"created_at": "2025-09-16T04:48:51.822-07:00",
"updated_at": "2025-09-16T04:48:52.664-07:00"
}
}
}