The POST /api/v1/environments/validate endpoint validates the environment.