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

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;uuid&quot;:&quot;3f746cd0-dd08-408f-b712-8180c7c621e9&quot;,&quot;company_uuid&quot;:&quot;de83cff2-8e7a-448e-a28c-14258a9971c3&quot;,&quot;name&quot;:&quot;test policy&quot;,&quot;policy_type&quot;:&quot;vacation&quot;,&quot;accrual_method&quot;:&quot;unlimited&quot;,&quot;accrual_rate&quot;:null,&quot;accrual_rate_unit&quot;:null,&quot;paid_out_on_termination&quot;:false,&quot;accrual_waiting_period_days&quot;:null,&quot;carryover_limit_hours&quot;:null,&quot;max_accrual_hours_per_year&quot;:null,&quot;max_hours&quot;:null,&quot;is_active&quot;:true,&quot;complete&quot;:true,&quot;employees&quot;:[{&quot;uuid&quot;:&quot;05ed3150-591e-4f8b-bfd5-55d478edd2d8&quot;}]}