time_off_policies
Get time off policy
Returns the time off policy with the given ID.
Callers without an organization management role can only access policies they are an active member of. Other policies return 404.
get/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
- TypeScripthttps://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/time_off_policies/:time_off_policy_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
time_off_policy_idinteger required
Time off policy ID
Response
A time off policy
Changes
No recorded changes to this operation across all 1 revision of this API.