examples/ngrokwebhook.py
def delete_webhooks_with_name(api, name):
    """Find a webhook by name."""
    for webhook in api.webhooks.list():
        if webhook.name == name:
            print("Deleting Webhook:", webhook.name, webhook.targetUrl)
            api.webhooks.delete(webhook.id)
def delete_webhooks_with_name(api, name):
    """Find a webhook by name."""
    for webhook in api.webhooks.list():
        if webhook.name == name:
            print("Deleting Webhook:", webhook.name, webhook.targetUrl)
            api.webhooks.delete(webhook.id)
def delete_webhooks_with_name ( api , name ) : for webhook in api . webhooks . list ( ) : if webhook . name == name : print ( "Deleting Webhook:" , webhook . name , webhook . targetUrl ) api . webhooks . delete ( webhook . id )
Find a webhook by name.
Find a webhook by name .