time_off_requests
Update time off request status
Approves or denies the time off request.
Allowed transitions: submitted → approved, submitted → denied, approved → denied, denied → approved.
Paid or partially paid time off requests cannot be modified through this endpoint.
When approving, use remove_shifts to automatically remove overlapping attendance shifts. This parameter is ignored when denying.
A response (reason) is required when denying a request.
put/v2/time_off_requests/{time_off_request_id}/status
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_idinteger required
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.