Skip to content

Instantly share code, notes, and snippets.

@kwhinnery
Created April 12, 2016 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwhinnery/8feb18267b0aa7b0a978edd2a393b581 to your computer and use it in GitHub Desktop.
Save kwhinnery/8feb18267b0aa7b0a978edd2a393b581 to your computer and use it in GitHub Desktop.
# Download the 'Preview Release' version of the Python helper library from
# twilio.com/docs/python/install
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/user/account
account = 'AC421124bfab3052ad108f3e8c7a119cfb'
token = 'AUTH_TOKEN'
client = Client(account, token)
# Delete the service
service = client.notifications.v1.services('IS13c4cce46710eb656ffffdef2c82c589')
print service.delete()
# Download the 'Preview Release' version of the Python helper library from
# twilio.com/docs/python/install
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/user/account
account = 'AC421124bfab3052ad108f3e8c7a119cfb'
token = 'AUTH_TOKEN'
client = Client(account, token)
# Delete the service
service = client.notifications.v1.services.get(
sid='IS13c4cce46710eb656ffffdef2c82c589')
response = service.delete()
print response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment