Fetching and Deleting all threads within a channel

Hello. I have the ID of a tech channel, and I want to delete all threads (active or archived) that are children of that channel. Can't seem to figure out what the syntax to make this work is.
Was this page helpful?