Skip to main content
DELETE /api/v1/cloud/environments/{environment_id} Deletes an Environment and returns a deletion confirmation. If the Environment is still referenced by Sessions or tool calls, the API returns 409 and you should archive it instead.

Headers

Path parameters

Example request

Example response

HTTP 200 OK
Successful deletion is signalled by "type": "environment_deleted" in the response body.

Errors

HTTP 404 Not Found
HTTP 409 Conflict
See Errors for the full error envelope.

Cloud environment setup

Choose the container, network, and dependencies your agent runs in.