cleanup endpoint validation