def main():
api = WebexTeamsAPI()<EOL>delete_webhooks_with_name(api, name=WEBHOOK_NAME)<EOL>public_url = get_ngrok_public_url()<EOL>if public_url is not None:<EOL><INDENT>create_ngrok_webhook(api, public_url)<EOL><DEDENT>
Delete previous webhooks. If local ngrok tunnel, create a webhook.