Time 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
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_off.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Changes
No recorded changes to this operation across all 2 revisions of this API.