Overview
useUpdateEvent returns a callable that edits an event. Host-only. The mutable fields go under update; hostIds, status, and spaceId are not editable here. Pass cover to replace the cover, gallery to append images, and update.removeImageIds to remove existing event images — any image operation sends multipart/form-data and requires the files-images bundle.
Usage Example
Parameters
The event to update.
The mutable fields to change. All optional:
title, description, startTime, endTime, timezone, type, url,
venueName, address, location ({ latitude, longitude }), visibility,
capacity, allowMaybe, guestListVisible, metadata, and removeImageIds
(string[] — File IDs of existing event images to remove).New cover image — replaces the existing cover. Sends multipart.
Gallery images to append. Sends multipart.
Returns
Returns aPromise<Event> — the updated Event.

