overtime_policies
Archive overtime policy
Changed onArchives the overtime policy by closing it. A policy that is in use is closed at the start of the organization's next week; an unused policy is closed immediately. Overtime policies are never deleted, only archived.
Only organization Owners and Managers may use this endpoint.
post/v2/overtime_policies/{overtime_policy_id}/archive
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
overtime_policy_idinteger required
Overtime policy ID
Response
An overtime policy
Changes
- info
endpoint added
- info