v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Timeoff > PolicyAssignment

Updates a Policy assignment

Update a Time off Policy Assignment

put/api/2026-07-01/resources/timeoff/policy_assignments/{id}

Path parameters

idstring required

Unique identifier of the policy assignment

Request body

idstring required

Unique identifier of the policy assignment

timeoff_policy_idstring required

The time off policy id

effective_atstring required

The effective date of the policy assignment

Example request

{
  "id": "1",
  "timeoff_policy_id": "1",
  "effective_at": "2024-01-01"
}

Response

OK

idstring

Unique identifier of the policy assignment

timeoff_policy_idstring required

The time off policy id

employee_idstring required

The employee id

effective_atstring required

The effective date of the policy assignment

Example response

{
  "id": "1",
  "timeoff_policy_id": "1",
  "employee_id": "1",
  "effective_at": "2024-01-01"
}