def METHOD_NAME(self):
    query = self.factory.create_query()
    other_user = self.factory.create_user()
    data = {"access_type": ACCESS_TYPE_MODIFY, "user_id": other_user.id}
    AccessPermission.grant(
        obj=query,
        access_type=ACCESS_TYPE_MODIFY,
        grantor=self.factory.user,
        grantee=other_user,
    )
    rv = self.make_request(
        "delete",
        "/api/queries/{}/acl".format(query.id),
        user=self.factory.create_admin(),
        data=data,
    )
    self.assertEqual(rv.status_code, 200)
    self.assertFalse(AccessPermission.exists(query, ACCESS_TYPE_MODIFY, other_user))