> Markdown version of https://tuna.am/en/docs/api/secrets-environment-delete/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Delete an environment with its configurations and secrets

del`/v1/secrets/environments/environment`

Requires `admin` access to the environment.

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Query Parameters

* **project** stringrequired

  Project alias

* **environment** stringrequired

  Environment alias

### Response

204
