def delete(data, id, medium, credentials):
    """Deletes the [medium] with the given id and data from the user's [medium]List.
    :param data   The data for the [medium] to delete.
    :param id     The id of the data to delete.
    :param medium Anime or manga (tokens.Medium.ANIME or tokens.Medium.MANGA).
    :raise ValueError For bad arguments.
    """
    _op(data, id, medium, tokens.Operations.DElETE, credentials)