Skip to main content
Update Conversation
Updates one or more fields on a conversation. Only group and space conversations can be updated — direct conversations return a 400. Authorization:
  • group conversations: caller must be an active admin member.
  • space conversations: caller must be an active admin or moderator of the parent Space (a banned admin or moderator can’t).

Path Parameters

string
required
The ID of the conversation to update.

Body Parameters

All fields are optional. Only provided fields are updated.
string
New display name for the conversation. Maximum 200 characters.
string
New description. Maximum 1000 characters.
string | null
ID of an uploaded File to use as the conversation avatar: a file the acting user uploaded (with a service key, also an app-owned file uploaded without a userId) with Upload Image or Upload File, that isn’t attached to anything: no entity, comment, event, space or chat message, and not any user’s or space’s avatar or banner, or another conversation’s avatar. Any other file is refused with 400 chat/invalid-avatar-file. Pass null to remove the current avatar. If a previous avatar exists, it is deleted from storage automatically.
string
Who can post messages. Only valid for space conversations. Accepted values: "members" (any active member), "admins" (only space admins and moderators).

Response

Returns the updated Conversation object, with avatarFile populated if set.

Error Responses

avatarFileId names a file that doesn’t exist, that the acting user didn’t upload (and isn’t app-owned, with a service key), or that is already attached to something.