overtime_policies
Restore overtime policy
Changed onRestores an archived overtime policy. A policy that was used is restored as a new copy effective at the start of the organization's next week (the original stays archived); an unused policy is reopened in place.
Restoring fails if any of its members are already assigned to another active policy of the same type.
Only organization Owners and Managers may use this endpoint.
post/v2/overtime_policies/{overtime_policy_id}/restore
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