Added purge by id to client