Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
override shift updated
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": "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"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
override shift updated
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": "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"
}
}
}
}
}