def METHOD_NAME(self, identifier=None, rtype=None, name=None, content=None):
    delete_record_id = []
    if not identifier:
        records = self.list_records(rtype, name, content)
        delete_record_id = [record["id"] for record in records]
    else:
        delete_record_id.append(identifier)
    LOGGER.debug("delete_records: %s", delete_record_id)
    for record_id in delete_record_id:
        self._post(
            "/Record.Remove", {"domain_id": self.domain_id, "record_id": record_id}
        )
        # if payload['status']['code'] != '1':
        #    raise Exception(payload['status']['message'])
    # is always True at this point, if a non 200 response is returned an error is raised.
    LOGGER.debug("delete_record: %s", True)
    return True