Skip to main content

Overview

useUpdateSpace returns a callable function for updating a space. Only space admins can update a space. Supports updating avatar and banner images.
When using SpaceProvider, prefer calling updateSpace from useSpace — it handles state updates automatically.

Usage Example

Parameters

spaceId
string
required
UUID of the space to update.
update
object
required
Fields to update. All fields are optional.

Returns

Returns the updated SpaceDetailed object.