---
title: "Delete Environment"
method: DELETE
path: "/public/v1/account/{accountSlug}/project/{projectSlug}/environments/{environmentId}"
tags: ["Virtual Environments"]
---

# Delete Environment

`DELETE /public/v1/account/{accountSlug}/project/{projectSlug}/environments/{environmentId}`

## Request

- Base URL: `https://api.tenderly.co/api`
- URL: `https://api.tenderly.co/api/public/v1/account/{accountSlug}/project/{projectSlug}/environments/{environmentId}`
- Auth: one of:
  - API key in header `X-Access-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/tenderly/apis/tenderly-api/docs/public/v1/account/:accountSlug/project/:projectSlug/environments/:environmentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently delete a single environment by ID

## Path parameters

- `accountSlug` string, required
- `projectSlug` string, required
- `environmentId` string, uuid, required

## Response `204`

Environment deleted successfully

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: The resource was not found.
- `429`: The request was rate limited. See the [rate limits](#section/Introduction/Rate-limits) section for the current limits and how request counts expire.
- `500`: Server error.

## Changes

- **2026-08-28** `e512753e74ce`: 6 warning
  - added the new `rid:simulation_draft` enum value to the `error/data/rid` response property for the response status `400`
  - added the new `rid:simulation_draft` enum value to the `error/data/rid` response property for the response status `401`
  - added the new `rid:simulation_draft` enum value to the `error/data/rid` response property for the response status `403`
  - added the new `rid:simulation_draft` enum value to the `error/data/rid` response property for the response status `404`
  - …2 more
- **2026-07-31** `59b67cf882bc`: 3 info
  - api tag `Virtual Environments` added
  - api tag `Environments` removed
  - added the non-success response with the status `429`

[Operation history](https://skmtc.dev/tenderly/apis/tenderly-api/changes/public/v1/account/:accountSlug/project/:projectSlug/environments/:environmentId/delete.md)

---

[API](https://skmtc.dev/tenderly/apis/tenderly-api.md) - [All operations](https://skmtc.dev/tenderly/apis/tenderly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tenderly/apis/tenderly-api/revisions/766e383288b3?raw)
