Skip to main content
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 after trimming. Leave it out to keep the current name. It can’t be cleared: null returns 400 space/invalid-body.
string
Updated URL slug. Pass empty to clear.
string
Updated description.
string
"anyone" or "members".
string
"anyone", "members", or "admins".
string
"public", "unlisted", or "private". Controls who can find and see the space, independent of readingPermission. "private" hides it, and the spaces under it, from everyone except its active members; the content inside it stays readable in v7 (see Content inside a space and the v8 rules). Changes take effect immediately and are freely reversible. See Space visibility.
boolean
Whether joining the space needs admin approval. Applies to joins from this point on — memberships that are already pending or active are unaffected.
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

name was sent as null (a space can’t lose its name) or isn’t 3–100 characters after trimming. Nothing is updated.
Caller is not an admin of the space.
See also: useUpdateSpace