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": "cf1f36e5-dea0-5551-917e-c6f74e1c00bf",
    "type": "shifts",
    "attributes": {
      "schedule_id": "2a66e561-7c50-481a-b4b3-5b79badf18be",
      "rotation_id": "4d014835-4431-412b-8e52-a73322c818f2",
      "starts_at": "2025-11-06T07:28:08.000-08:00",
      "ends_at": "2025-11-06T15:28:08.000-08:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "7c11b24b-cc22-4f20-b5cc-483677ef0dd6",
          "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