---
title: "DELETE /decision-environments/{id}/"
method: DELETE
path: "/decision-environments/{id}/"
tags: ["decision-environments"]
---

# DELETE /decision-environments/{id}/

`DELETE /decision-environments/{id}/`

Delete a decision environment by id

## Path parameters

- `id` integer, required

## Query parameters

- `force` boolean

## Response `204`

Delete successful.

## Other responses

- `409` — Decision Environment in use by Activations.

## Changes

- **2024-04-23** `cbf68ddd9760` — 4 info
  - the endpoint scheme security `EDAJWTAuthentication` was added to the API
  - the endpoint scheme security `jwtAuth` was added to the API
  - added the non-success response with the status `409`
  - removed the non-success response with the status `403`
- **2023-10-17** `cf4bda9538d3` — 2 info
  - added the new optional `query` request parameter `force`
  - added the non-success response with the status `403`
- **2023-08-21** `c84b4813cab1` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API
- **2023-05-19** `f84d9240fdf2` — 1 info
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2023-04-25** `62d33b790834` — 1 warning, 3 info
  - deleted the `query` request parameter `force`
  - the endpoint scheme security `EDAJWTAuthentication` was removed from the API
  - the endpoint scheme security `jwtAuth` was removed from the API
  - removed the non-success response with the status `409`

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/decision-environments/:id/delete.md)

---

[API](https://skmtc.dev/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.dev/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/revisions/c04fc5f09692/schema)
