Update time off request
Updates a time off request's details (dates, message, days, policy).
This is a full replacement — all fields must be provided, including time_off_request_days with one entry per date (amount_used in seconds, typically 28800 for an 8-hour day).
Approved, paid, or partially paid requests cannot be edited.
If the request was denied, updating it automatically resubmits it (status → submitted).
If the policy does not require approval, the request is auto-approved on update.
Set require_no_shift_overlap to true to reject the update if it overlaps with scheduled attendance shifts.
remove_shifts deletes overlapping attendance shifts only when the policy does not require approval (the request is auto-approved on update). When the policy requires approval, this field is ignored — use the status endpoint to remove shifts at approval time instead.
Note: starts_at and stops_at are interpreted as wall-clock times in the user's configured timezone (any timezone offset in the value is ignored). When all_day is true, the response covers the whole local day, 00:00:00.000–23:59:59.999 in the timezone saved with the request when it was created.
Request
- Base URLhttps://api.hubstaff.com
- AuthOAuth 2Authorization codehttps://account.hubstaff.com/authorizations/newToken URLhttps://account.hubstaff.com/access_tokensScopeshubstaff:read, hubstaff:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Time off request ID
Request body
Response
The updated time off request with its balance preview
Changes
No recorded changes to this operation across all 1 revision of this API.