Can you batch delete threads in Cord?
Owen
Apr 6
I see that you can delete threads, which is great. Is there a way to delete threads in bulk based on whether they are associated with a particular group?
Khadija Nur
Apr 6
Yes, if you delete a group in Cord using the REST API, it will also delete all threads and messages associated with the group. So that can operate as a bulk operation if you intend to remove the group. If instead you want to delete based on some other parameter, you would need to list threads based on a filter (eg by metadata, group ID, etc) - and then loop through the IDs and delete them. You can delete groups and threads in your terminal as well, using the Cord CLI.