v1
latestOpenAPI 3.1.02026-07-26294215839.4 KBTime Off
Public API
Assign Time Off Policies (v1)
Deprecated. Use Assign Time Off Policies (v1.1) instead (assign-time-off-policies-v1-1). Assigns time off policies to an employee with accruals starting on the specified date. A null start date removes the existing assignment. On success, returns the current list of assigned policies.
OAuth Scopes: time_off.write
put/api/v1/employees/{employeeId}/time_off/policies
Path parameters
employeeIdinteger required
The internal employee ID of the employee whose time off policies are being assigned.
Request body
Example request
[
{
"timeOffPolicyId": 4,
"accrualStartDate": "2024-02-01"
},
{
"timeOffPolicyId": 5,
"accrualStartDate": null
}
]Response
The current list of assigned policies for the employee.