# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/console
api_key_sid = 'SKXXXX'
api_key_secret = 'your_api_key_secret'
client = Client(api_key_sid, api_key_secret)

did_delete = client.video\
                    .compositionHooks('HKXXXX')\
                    .delete()

if(did_delete):
    print('Composition removed')

[(7, 'twilio.rest.Client', 'Client', False, 'from twilio.rest import Client\n')]