Skip to content

Instantly share code, notes, and snippets.

@lewisdaly
Created October 30, 2018 11:17
Show Gist options
  • Save lewisdaly/505639f16999e3f9e41abfe5ebdd2032 to your computer and use it in GitHub Desktop.
Save lewisdaly/505639f16999e3f9e41abfe5ebdd2032 to your computer and use it in GitHub Desktop.
cleanup a twilio usage trigger
#!/usr/bin/env bash
TRIGGER_ID="$1"
curl -XDELETE https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Usage/Triggers/$TRIGGER_ID.json \
-u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment