# Environment The environment service for working with Environment-type infrastructures ## Compile Environment - [POST /api/environments/compile](https://apidocs.harness.io/environment/environment_compile.md): Endpoint for compiling an environment and a target state to a valid infrastructure ## Schemas Environment - [GET /api/environments/schemas](https://apidocs.harness.io/environment/environment_schemas.md): Endpoint for retrieving the environment and environment blueprint schemas ## Create Compile And Execute Environment - [POST /v1/idp-environments](https://apidocs.harness.io/environment/create-compile-and-execute-environment.md): Create environment in catalog, compiles it and then finally execute it. ## Update Compile And Execute Environment - [PUT /v1/idp-environments/{environment-id}](https://apidocs.harness.io/environment/update-compile-and-execute-environment.md): Update environment in catalog, compiles it and then finally execute it. ## Delete Environment - [DELETE /v1/idp-environments/{environment-id}](https://apidocs.harness.io/environment/delete-environment.md): Delete any environment that is no longer active