devops stage environment delete
Delete an environment from a DevOps Center pipeline stage.
Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑environment‑id | ‑e | Type: Value Required ID of the environment to delete. |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑pipeline‑id | N/A | Type: Value Required ID of the pipeline. Used to verify the pipeline is inactive before deleting. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Delete an environment: