def get_backend_properties_url(config, backend_type, hub=None):
    """
    Util method to get backend properties url
    """
    hub = config.get('hub', hub)

    if hub:
        return '/Network/{}/devices/{}/properties'.format(hub, backend_type)
    return '/Backends/{}/properties'.format(backend_type)