Skip to main content
PUT
/
v1
/
on_call_shadows
/
{id}
Update an On Call Shadow configuration
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": "c06d68a5-4476-4694-8de7-a1707b80d358",
    "type": "on_call_shadows",
    "attributes": {
      "schedule_id": "4fa84334-8fc4-42d9-afcd-f9e374c754fe",
      "shadowable_type": "Schedule",
      "shadowable_id": "4fa84334-8fc4-42d9-afcd-f9e374c754fe",
      "shadow_user_id": 384,
      "starts_at": "2025-10-07T12:11:04.000-07:00",
      "ends_at": "2025-10-08T10:11:04.000-07:00",
      "created_at": "2025-10-07T10:11:04.182-07:00",
      "updated_at": "2025-10-07T10:11:04.966-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

on call shadows configuration is is updated

data
object
required
I