Change one leave, block or busy-time entry. Moving a blocking entry over bookings returns requires_staff_action unless accept_conflicts is true

patch/api/v1/team/{id}/leave/{leaveId}

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/team/{id}/leave/{leaveId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required
leaveIdstring required

Request body

starts_atstring
ends_atstring
datestring
end_datestring
kind'leave' | 'sick' | 'training' | 'block' | 'other' | 'busy'
reasonstring
blocks_onlineboolean
accept_conflictsboolean

Response

OK

object required

Changes

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