Delete an environment

Deleting an environment permanently removes all of its versions and custom rule sets. You can't undo this action.

You can delete an environment from either the environments list on the workspace page or the environment page itself.

📘

Service hostname sets, origins, shared rule sets, and workspace variables exist at the workspace level, so they stay intact when you delete an environment. Components and configurations specific to the environment, such as tags, routes, rule configurations, and environment-related permissions, are deleted with it.

Before you begin

Two conditions block the delete. If either applies, the Delete environment window shows a warning and keeps the Delete environment button unavailable:

  • The environment is active. You can't delete an active environment, on either staging or production. Deactivate it on all networks first.
  • The environment has unsaved changes. Close the window, then save or discard your pending changes before you try again.

Delete an environment

  1. From the Control Center menu, click Content delivery > CDN > Delivery Manager.
  2. In the Workspaces page, click the workspace that contains the environment you want to delete.
  3. Open the ellipsis menu for the environment you want to delete:
    • Workspace page: go to the Environments tab and click the options ellipses for the environment in the list. Select Delete environment.
    • Environment page: click the environment to open it, then click the options ellipses in the top right corner. Select Delete environment.
  4. In the Delete environment window, review any warnings.
  5. Enter the name of the environment to confirm the deletion.
  6. Click Delete environment.

Did this page help you?