Delete Environment
Delete an environment and all its resources. This action soft-deletes the environment but can impact all applications within it.
Endpoint
DELETE /environments/{id}
Authentication
Required: Yes (Session or Bearer Token with 2FA)
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Yes | Environment ID |
Response
Success Response (200 OK)
{
"message": "Environment deleted successfully",
"id": "660e8400-e29b-41d4-a716-446655440001"
}
Examples
cURL
curl -X DELETE "https://api.thevenin.cloud/environments/{envId}" \
-H "Authorization: Bearer tvn_your_api_token_here"
Warning
Deleting an environment will affect all applications, volumes, files, and variable sets within it. Backup important data first.