---
title: "Delete an Environment"
method: DELETE
path: "/v1/projects/{project}/environments/{key}"
tags: ["Environments"]
---

# Delete an Environment

`DELETE /v1/projects/{project}/environments/{key}`

Delete an Environment by ID or key

## Path parameters

- `key` string, required
- `project` string, required

## Response `200`

## Other responses

- `401`
- `403`
- `404`
- `405`

---

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