time_off_policies
Delete time off policy
Deletes the time off policy.
A policy cannot be deleted if any of its members have:
- paid time off requests,
- approved time off requests, or
- used time off hours (time off adjustments).
Other balance adjustments (accruals, manual adjustments) do not prevent deletion and are removed along with the policy.
Use the archive endpoint instead to retire a policy that has been used.
delete/v2/time_off_policies/{time_off_policy_id}
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_policy_idinteger required
Time off policy ID
Response
Deletion successful
Changes
No recorded changes to this operation across all 1 revision of this API.