Skip to main content
PUT
/
v1
/
override_shifts
/
{id}
Update an override shift
curl --request PUT \
  --url https://api.rootly.com/v1/override_shifts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "shifts",
    "attributes": {
      "user_id": 123
    }
  }
}'
{
  "data": {
    "id": "fb25c218-6e9f-5c49-b495-ff33e3305a4f",
    "type": "shifts",
    "attributes": {
      "schedule_id": "2deddb09-c062-4177-a355-e19bb6c9e802",
      "rotation_id": "70d11210-272b-4d3f-9343-3f47fb9fc264",
      "starts_at": "2025-11-04T06:55:21.000-08:00",
      "ends_at": "2025-11-04T14:55:21.000-08:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "8a8a1661-0c65-47f7-9a0a-6e8a7d71d61a",
          "type": "shift_overrides"
        }
      },
      "user": {
        "data": {
          "id": "417",
          "type": "users"
        }
      }
    }
  }
}

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

override shift updated

data
object
required