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

# Delete an environment

`DELETE /environments/{environment_id}`

Delete an environment entirely. The default environment cannot be deleted while other environments still exist.

## Path parameters

- `environment_id` string, uuid4, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getorchestra/apis/orchestra-api.md) · [All operations](https://skmtc.dev/getorchestra/apis/orchestra-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getorchestra/orchestra-api/revisions/50f4d2ba114d/schema)
