docs: def delete_image(self, identifier):
          """
          ::
          
              DELETE /:login/images/:id
          
          :param identifier: match on the listed image identifier
          :type identifier: :py:class:`basestring` or :py:class:`dict`
          
          A string or a dictionary containing an ``id`` key may be
          passed in. Will raise an error if the response was an error.
          
          """
          if isinstance(identifier, dict):
              identifier = identifier.get('id', '')
          j, r = self.request('DELETE', '/images/' + str(identifier))
          r.raise_for_status()
          
          return j