---
title: "Delete an environment"
method: DELETE
path: "/v1/projects/{projectId}/environments/{environmentName}"
tags: ["Environments"]
---

# Delete an environment

`DELETE /v1/projects/{projectId}/environments/{environmentName}`

An endpoint for deleting an environment by name

## Path parameters

- `projectId` string, uuid, required
- `environmentName` string, required

## Response `204`

Environment has been deleted

## Other responses

- `400` — Wrong request parameters used
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Environment not Found
- `500` — Unexpected error occurred
- `504` — Gateway timeout

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/versions/6239825f68eb/schema)
