---
title: "Delete environment"
method: DELETE
path: "/environments/{name}"
---

# Delete environment

`DELETE /environments/{name}`

Delete an environment by name

## Path parameters

- `name` string, required — The name of the environment to delete.

## Response `200`

OK

- DeleteEnvironmentResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `environment` Environment, required
    - `is_deletable` boolean, required — If this environment is able to be deleted.
    - `name` string, required — The human readable name for the environment

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `default` — Error

---

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