Skip to main content
Delete Conversation
Permanently deletes a conversation and all associated messages, members, reactions, and file attachments. This action is irreversible. Direct conversations (type: "direct") cannot be deleted. Authorization:
  • group conversations: caller must be an active admin member.
  • space conversations: caller must be an active admin member of the parent Space (a banned admin is refused).

Path Parameters

string
required
The ID of the conversation to delete.

Query Parameters

string
Service key only, and required with one: the user this request acts as. Must be allowed to delete the conversation (see Authorization above). A user token always acts as its own user and must not send it (400 chat/acting-user-not-allowed).

Response

Error Responses

A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials:
A service key sent no actingUserId.