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": "3cef02b0-67ef-56ba-8e64-6f9dd257d0db",
    "type": "shifts",
    "attributes": {
      "schedule_id": "d38e2b89-6ecd-417c-a901-27fe76aa05c8",
      "rotation_id": "1103dac1-a28b-4f21-a528-a76e8b20330c",
      "user_id": 419,
      "starts_at": "2025-11-26T18:11:20.000-08:00",
      "ends_at": "2025-11-27T02:11:20.000-08:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "fce3c4e4-4c53-4faf-bdba-7e8d8fdc26c9",
          "type": "shift_overrides"
        }
      },
      "user": {
        "data": {
          "id": "419",
          "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