Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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