---
title: "Delete Byo Environment"
method: DELETE
path: "/api/agent-data/environments/{environment_id}"
tags: ["agent-data"]
---

# Delete Byo Environment

`DELETE /api/agent-data/environments/{environment_id}`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agent-data/environments/{environment_id}`
- Auth: none declared

Delete an environment you own (refuses while namespaces reference it).

The other half of the stuck-registration repair path: a refused
environment with no namespaces can be removed by its owner, freeing the
globally-unique name.

## Path parameters

- `environment_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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