Update a specific override shift by id
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": "abe1f68f-c02f-5251-9559-a2d2ecb0dd94",
"type": "shifts",
"attributes": {
"schedule_id": "8055cf77-9b3f-40e8-b8fe-e7900d038a78",
"rotation_id": "bf0f1406-4295-440b-9daa-139da81b012b",
"user_id": 465,
"starts_at": "2025-12-05T15:27:42.000-08:00",
"ends_at": "2025-12-05T23:27:42.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": {
"id": "286624e7-a017-4063-9121-148944719188",
"type": "shift_overrides"
}
},
"user": {
"data": {
"id": "465",
"type": "users"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
override shift updated
Show child attributes
Unique ID of the shift
shifts Show child attributes
ID of schedule
ID of rotation
Start datetime of shift
End datetime of shift
Denotes shift is an override shift
Date of creation
Date of last update
Override metadata
Show child attributes
Show child attributes
Unique ID of the shift override
shift_override Show child attributes
ID of shift
User who created the override
Date of creation
Date of last update
Override shift user
User metadata
Show child attributes
Show child attributes
Unique ID of the user
users Show child attributes
The email of the user
Date of creation
Date of last update
First name of the user
Last name of the user
The full name of the user
The full name with team of the user
Configured time zone
Show child attributes
Was this page helpful?
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": "abe1f68f-c02f-5251-9559-a2d2ecb0dd94",
"type": "shifts",
"attributes": {
"schedule_id": "8055cf77-9b3f-40e8-b8fe-e7900d038a78",
"rotation_id": "bf0f1406-4295-440b-9daa-139da81b012b",
"user_id": 465,
"starts_at": "2025-12-05T15:27:42.000-08:00",
"ends_at": "2025-12-05T23:27:42.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": {
"id": "286624e7-a017-4063-9121-148944719188",
"type": "shift_overrides"
}
},
"user": {
"data": {
"id": "465",
"type": "users"
}
}
}
}
}