---
title: "Changes to Delete a Factory Environment"
method: DELETE
path: "/api/v0/environments/{environmentId}"
---

# Changes to Delete a Factory Environment

`DELETE /api/v0/environments/{environmentId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 75 revisions.

- **2026-11-12** `b6a46c415079`: 5 breaking, 1 warning, 28 info
- **2026-10-13** `dd43fbb08a00`: 1 info

## Changes

- **2026-11-12** `b6a46c415079`: 5 breaking, 1 warning, 28 info
  - the response's body type changed from `object` to no type for status `400`
  - removed the media type `application/json` for the response with the status `204`
  - removed the required property `detail` from the response with the `400` status
  - removed the required property `status` from the response with the `400` status
  - removed the required property `title` from the response with the `400` status
  - removed the optional property `metadata` from the response with the `400` status
  - added the new optional `header` request parameter `X-Factory-Org-Id`
  - added `subschema #1, subschema #2` to the response body `anyOf` list for the response status `400`
  - added the non-success response with the status `402`
  - added the non-success response with the status `451`
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `409` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `code` to the response with the `503` status
  - added the optional property `displayToUser` to the response with the `401` status
  - added the optional property `displayToUser` to the response with the `403` status
  - added the optional property `displayToUser` to the response with the `404` status
  - added the optional property `displayToUser` to the response with the `409` status
  - added the optional property `displayToUser` to the response with the `500` status
  - added the optional property `displayToUser` to the response with the `503` status
  - added the optional property `error` to the response with the `401` status
  - added the optional property `error` to the response with the `403` status
  - added the optional property `error` to the response with the `404` status
  - added the optional property `error` to the response with the `409` status
  - added the optional property `error` to the response with the `500` status
  - added the optional property `error` to the response with the `503` status
  - added the optional property `requestId` to the response with the `401` status
  - added the optional property `requestId` to the response with the `403` status
  - added the optional property `requestId` to the response with the `404` status
  - added the optional property `requestId` to the response with the `409` status
  - added the optional property `requestId` to the response with the `500` status
  - added the optional property `requestId` to the response with the `503` status
- **2026-10-13** `dd43fbb08a00`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/factory/apis/factory-public-api/docs/api/v0/environments/:environmentId/delete.md) - [API](https://skmtc.dev/factory/apis/factory-public-api.md) - [Page](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/environments/:environmentId/delete)
