Remove employees from a time off policy
PUT {{baseUrl}}/v1/time_off_policies/:time_off_policy_uuid/remove_employees
Remove employees from a time off policy
scope: time_off_policies:write
Request Body
{"employees"=>[{"uuid"=>"<string>"}, {"uuid"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"uuid":"3f746cd0-dd08-408f-b712-8180c7c621e9","company_uuid":"de83cff2-8e7a-448e-a28c-14258a9971c3","name":"test policy","policy_type":"vacation","accrual_method":"unlimited","accrual_rate":null,"accrual_rate_unit":null,"paid_out_on_termination":false,"accrual_waiting_period_days":null,"carryover_limit_hours":null,"max_accrual_hours_per_year":null,"max_hours":null,"is_active":true,"complete":true,"employees":[{"uuid":"05ed3150-591e-4f8b-bfd5-55d478edd2d8"}]}