Timeoff > PolicyAssignment
Updates a Policy assignment
Changed onUpdate a Time off Policy Assignment
put/api/2026-10-01/resources/timeoff/policy_assignments/{id}
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/timeoff/policy_assignments/{id}
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_off
- or API key in header x-api-key
Path parameters
idstring required
Unique identifier of the policy assignment
Request body
Example request
{
"id": "1",
"timeoff_policy_id": "1",
"effective_at": "2024-01-01"
}Response
OK
Example response
{
"id": "1",
"timeoff_policy_id": "1",
"employee_id": "1",
"effective_at": "2024-01-01"
}Changes
- info
endpoint added
- info