def METHOD_NAME(self, endpoint_name: str):
    """Delete a local endpoint.
    :param str endpoint_name: Name of local endpoint to delete.
    """
    build_directory = self._get_build_directory(endpoint_name=endpoint_name)
    shutil.rmtree(build_directory)