Created
April 12, 2016 21:26
-
-
Save kwhinnery/8feb18267b0aa7b0a978edd2a393b581 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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