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": "48d79384-c7af-4ba9-a203-957f8acc65c7",
    "type": "shifts",
    "attributes": {
      "schedule_id": "7c7fbff5-464b-4e30-8ec6-bb5c76a1da13",
      "rotation_id": "ab860145-4d0b-4fbd-b1b7-44b22c007f9a",
      "starts_at": "2025-07-11T18:17:59.000-07:00",
      "ends_at": "2025-07-12T02:17:59.000-07:00",
      "is_override": true
    },
    "relationships": {
      "shift_override": {
        "data": {
          "id": "adf47ad7-b0a2-4705-b971-e99a3f2cfce1",
          "type": "shift_overrides"
        }
      },
      "user": {
        "data": {
          "id": "355",
          "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

Response

200
application/vnd.api+json

override shift updated

The response is of type object.