---
title: "Delete an Environment"
method: DELETE
path: "/environments/{environment}"
tags: ["environments"]
---

# Delete an Environment

`DELETE /environments/{environment}`

## Path parameters

- `environment` string, required

## Response `204`

Successfully deleted the environment.

## Other responses

- `403` — Environment deletion is forbidden.
- `404` — Environment not found, or user unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

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