Clean up and remove /what endpoint.