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": "5c820d99-9804-4ee5-89e8-d792b1a640dc",
    "type": "shifts",
    "attributes": {
      "schedule_id": "ef9f6869-ab53-4d8d-80ef-e9ab2c3c1fe4",
      "rotation_id": "3f84df5d-a7a3-4560-af87-c3374e515e28",
      "starts_at": "2025-10-04T10:10:05.000-07:00",
      "ends_at": "2025-10-04T18:10:05.000-07:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "3ff95b13-1d96-425b-a576-57ba464fffdb",
          "type": "shift_overrides"
        }
      },
      "user": {
        "data": {
          "id": "372",
          "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