code: async def delete(
          self, name: str, *, force: bool = False, noprune: bool = False
      ) -> List:
          
          params = {"force": force, "noprune": noprune}
          response = await self.docker._query_json(
              "images/{name}".format(name=name), "DELETE", params=params
          )
          return response
docs: Remove an image along with any untagged parent
          images that were referenced by that image
  
          Args:
              name: name/id of the image to delete
              force: remove the image even if it is being used
                     by stopped containers or has other tags
              noprune: don't delete untagged parent images
  
          Returns:
              List of deleted images