Skip to main content
PATCH
Update Space
Updates a space. Only the space’s admin can update it. Supports multipart form data for avatar/banner image uploads.

Path Parameters

string
required
UUID of the space to update.

Body Parameters

All fields are optional. Only provided fields are updated.
string
Updated display name. 3–100 characters.
string
Updated URL slug. Pass empty to clear.
string
Updated description.
string
"anyone" or "members".
string
"anyone", "members", or "admins".
object
Updated metadata object.
file
New avatar image. Requires avatarFile.options when provided.
file
New banner image. Requires bannerFile.options when provided.

Response

Returns the updated SpaceDetailed object.

Error Responses

Caller is not an admin of the space.
See also: useUpdateSpace