Docs

Remove Actual Block

DELETE /Reservations/{reservationId}/schedule-blocks/{blockId}

DELETE/Reservations/{reservationId}/schedule-blocks/{blockId}

Removes one block from a reservation's actual schedule. A reservation with no actual blocks, as with a no-show, costs nothing. The blockId comes from Reservations_GetReservationActuals; for a shift with no record it may be a plan block id from the need, as for the update. Refused (400) when this shift is approved: reopen it with Reservations_SetScheduleBlockActualsApproval first. Also refused on a named reservation that comes from an order. Deleting the last open shift beside approved ones completes the reservation. Works the same on an organization-level reservation (org token, resource inventory edit).

Path Parameters

FieldTypeRequiredDescription
reservationIduuidRequired
blockIduuidRequired