delete

open suspend override fun delete(reason: String?)(source)

Deleting a thread requires the Manage Threads permission.