scheduling

Update Shift Block

patch/scheduling/shift-blocks/{shift_id}

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/scheduling/shift-blocks/{shift_id}
  • Auth
    HTTP bearer

Path parameters

shift_idstring required

Request body

shift_datestring date nullable

New center-local start date (omit to keep).

start_minuteinteger nullable

New start, minutes after local midnight; multiple of 15.

end_minuteinteger nullable

New end, minutes after local midnight of shift_date; multiple of 15.

operator_idsstring[] nullable

Replacement seat list in seat order - index 0 is the PRIMARY. Omit to keep the current roster; pass [] to clear every seat.

notesstring nullable

New notes. OMIT the key to keep the stored value; send an explicit null to clear it. (Omitted and null are distinguished by the field's presence in the request body, not by its value.)

colorstring nullable

New per-shift display color (hex). OMIT the key to keep the stored value; send an explicit null to reset the shift to its coverage group's color. (Omitted and null are distinguished by the field's presence in the request body, not by its value.)

Example request

{
  "color": "#4DFFD2"
}

Response

Successful Response

Example response

{
  "block": {
    "shift_date": "2026-08-24",
    "start_minute": 1080,
    "end_minute": 1560,
    "start_time": "18:00",
    "end_time": "02:00",
    "end_day_offset": 1,
    "color": "#4DFFD2"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.