def image_member_delete(context, memb_ref, session=None):
    session = session or get_session()
    memb_ref.update(dict(deleted=True))
    memb_ref.save(session=session)
    return memb_ref
Delete an ImageMember object
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/registry/db/api.py/image_member_delete