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": "0f9c4f07-8899-5990-86eb-ad2c5d135054",
    "type": "shifts",
    "attributes": {
      "schedule_id": "e24b5b7f-bec8-410d-bb7c-f78bd246f194",
      "rotation_id": "beddc03c-fb4b-4634-84d1-89b4a21f5060",
      "starts_at": "2025-10-15T00:19:00.000-07:00",
      "ends_at": "2025-10-15T08:19:00.000-07:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "31250cec-e304-4c1c-b909-3e7a0e9d86c9",
          "type": "shift_overrides"
        }
      },
      "user": {
        "data": {
          "id": "398",
          "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
I