There is an API call to Update an OutOfOffice for a userID
/api/v2/users/{userId}/outofoffice
Hopefully that would work. It is in the API Explorer under the Outofoffice section.
------------------------------
George Ganahl GCP (Genesys Cloud), ICCE
Principal Technology Consultant
Genesys
------------------------------