---
title: "Delete a specific Environment."
method: DELETE
path: "/orgs/{orgId}/apps/{appId}/envs/{envId}"
tags: ["public", "Environment"]
---

# Delete a specific Environment.

`DELETE /orgs/{orgId}/apps/{appId}/envs/{envId}`

Deletes a specific Environment in an Application.

Deleting an Environment will also delete the Deployment history of the Environment.

_Deletions are currently irreversible._

## Path parameters

- `orgId` string, required
- `appId` string, required
- `envId` string, required

## Response `202`

Environment deletion is in progress.

## Other responses

- `204` — Environment successfully deleted.
- `400` — Attempt to delete the last Environment in an Application.
- `404` — No Environment with `envId` in Application.

---

[API](https://skmtc.net/humanitec/apis/humanitec-api.md) · [All operations](https://skmtc.net/humanitec/apis/humanitec-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanitec/humanitec-api/revisions/e21ad140ec3c/schema)
