def METHOD_NAME(self, tags, action):
    """Request a purge by cache_tags."""
    _url = os.getenv("AKAMAI_FAST_PURGE_URL")
    if not _url:
        logger.info(
            "Can't purge cache. No value set for 'AKAMAI_FAST_PURGE_URL'"
        )
        return
    url = _url.replace("url", "tag")
    resp = requests.post(
        url,
        headers=self.headers,
        data=json.dumps({"action": action, "objects": tags}),
        auth=self.auth,
    )
    logger.info(
        f"Attempted to {action} by cache_tags {', '.join(tags)}, "
        f"and got back the response {resp.text}"
    )
    resp.raise_for_status()