---
title: "Changes to Remove a custom environment"
method: DELETE
path: "/v9/projects/{idOrName}/custom-environments/{environmentSlugOrId}"
---

# Changes to Remove a custom environment

`DELETE /v9/projects/{idOrName}/custom-environments/{environmentSlugOrId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 137 revisions.

- **2026-09-30** `099fbe1f521c`: 1 info
- **2026-07-21** `2ae10ee9d21c`: 1 info
- **2026-06-11** `14b4658f819e`: 1 warning
- **2026-01-22** `c12186034433`: 2 warning
- **2025-05-17** `67f6a93c3cd8`: 9 info
- **2025-03-19** `37b482c58c92`: 1 info

## Changes

- **2026-09-30** `099fbe1f521c`: 1 info
  - added the non-success response with the status `404`
- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-06-11** `14b4658f819e`: 1 warning
  - added the new `undefined` enum value to the `domains/items/redirectStatusCode` response property for the response status `200`
- **2026-01-22** `c12186034433`: 2 warning
  - added the new `false` enum value to the `domains/items/verified` response property for the response status `200`
  - added the new `true` enum value to the `domains/items/verified` response property for the response status `200`
- **2025-05-17** `67f6a93c3cd8`: 9 info
  - added the optional property `branchMatcher` to the response with the `200` status
  - added the optional property `currentDeploymentAliases` to the response with the `200` status
  - added the optional property `description` to the response with the `200` status
  - added the optional property `domains` to the response with the `200` status
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `slug` to the response with the `200` status
  - added the required property `type` to the response with the `200` status
  - added the required property `updatedAt` to the response with the `200` status
- **2025-03-19** `37b482c58c92`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/vercel/apis/api/docs/v9/projects/:idOrName/custom-environments/:environmentSlugOrId/delete.md) - [API](https://skmtc.dev/vercel/apis/api.md) - [Page](https://skmtc.dev/vercel/apis/api/changes/v9/projects/:idOrName/custom-environments/:environmentSlugOrId/delete)
