/ SDKs / iOS
SDKs
Chat SDKs iOS v4
Chat SDKs iOS
Chat SDKs
iOS
Version 4

Delete a channel

Copy link

Only the operators of the channel are allowed to delete a channel. To delete a channel, follow the code below.

channel.delete { error in
    guard error == nil else {
        // Handle error.
        return
    }

    // The channel is successfully deleted from the operator's client app.
}