def subtitute_path_variables_in_url(url, path_params):
    """
    Args:
        url: (string)url of the subscriber containing placeholders
        path_params: (dict) a map of each placeholder and its corresponding value

    Returns:
        (string) the url after subtituting all placeholders in url.
    """
    for path_p in path_params:
        url = url.replace(f':{path_p}', path_params[path_p])

    return url