def update_webhook():
    webhook_config = dict(enabled=True)

    try:
        webhook_client = MessageBusWebhooksClient(api_key)
        result = webhook_client.update_webhook(webhook_key, webhook_config)
    except MessageBusResponseError, error:
        raise error