How can I get a list of all scheduled triggers and delete them using their IDs in a webhook?

Posted thread to Discourse: How Can I Retrieve and Delete Webhook Triggers in My Code?