def METHOD_NAME(self, token: str, filename: str):
    """
    Call HF API to delete a file stored by user
    """
    path = "{}/api/deleteObj".format(self.endpoint)
    r = requests.delete(path, headers={"authorization": "Bearer {}".format(token)}, json={"filename": filename})
    r.raise_for_status()