from typing import List


def remove_prefix(key: str, prefixes: List[str]):
    """
    Remove one of the prefixes provided as parameter
    """
    for prefix in prefixes:
        if key.startswith(prefix):
            return key.replace(prefix, "")
    raise ValueError(f"Expected one prefix to be removed among {prefixes}")