Admin API / Mutations

deleteChatChannel

Deletes a channel. Nobody can read or post in it after this, and its messages are not available. A deleted channel gives ChatChannelNotFoundError, so a repeat gives that error. Works while chat channels are off. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:chat:deleteRequires this member role or higher: ADMIN
deleteChatChannel(
  input: DeleteChatChannelInput!
): DeleteChatChannelPayload!

Arguments

ArgumentTypeDescription
inputDeleteChatChannelInput!The channel to delete.

Return type

DeleteChatChannelPayload!