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: ADMINdeleteChatChannel(
input: DeleteChatChannelInput!
): DeleteChatChannelPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | DeleteChatChannelInput! | The channel to delete. |