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.
}