'Deletes Registry\'s information about an image'

def delete_image(self, image_id):

    res = self.do_request('DELETE', ('/images/%s' % image_id))
    data = jsonutils.loads(res.read())
    image = data['image']
    return image
