---
title: wpe envs
description: wpe envs allows you to manage environments in an application using the WP Headless CLI.
url: https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/envs/
image: https://developers.wpengine.com/og/docs/headless-platform/reference/cli/wpe/envs.png
---

# wpe envs

The `wpe envs` command group allows you to manage environments in an application using the WP Headless CLI.

## Commands

- [**wpe envs delete**](https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/envs/delete): Remove a deployed environment from an application
- [**wpe envs purge**](https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/envs/purge): Manually purge the domain cache for a specified application environment
- [**wpe envs rebuild**](https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/envs/rebuild): Manually invoke a rebuild of a specified application environment

## Was this helpful?

Thanks for the feedback!

```json
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://developers.wpengine.com/#website","name":"WP Engine Product Documentation","url":"https://developers.wpengine.com/","description":"Resources for developing, deploying, and scaling on WP Engine.","inLanguage":"en-US","keywords":["API documentation","product documentation","headless WordPress","managed WordPress hosting"],"publisher":{"@id":"https://wpengine.com/#organization"}}]}
```
