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": "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"
}
}
}
}
}
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": "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"
}
}
}
}
}