def delete_vnet(access_token, subscription_id, resource_group, name):
endpoint = '<STR_LIT>'.join([get_rm_endpoint(),<EOL>'<STR_LIT>', subscription_id,<EOL>'<STR_LIT>', resource_group,<EOL>'<STR_LIT>', name,<EOL>'<STR_LIT>', NETWORK_API])<EOL>return do_delete(endpoint, access_token)<EOL>
Delete a virtual network.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.
        resource_group (str): Azure resource group name.
        name (str): Name of the VNet.

    Returns:
        HTTP response. VNet JSON body.