Delete Application
Soft delete an application. The application is marked as deleted but not permanently removed from the system.
Endpoint
DELETE /environments/{envId}/app/{id}
Authentication
Required: Yes (Session or Bearer Token with 2FA)
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
envId | string (UUID) | Yes | Environment ID containing the application |
id | string (UUID) | Yes | Application ID to delete |
Response
Success Response (200 OK)
{
"message": "Application deleted successfully",
"id": "550e8400-e29b-41d4-a716-446655440000"
}
Error Responses
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid UUID format |
| 401 | Unauthorized - Invalid or missing authentication |
| 403 | Forbidden - User doesn't have access to this application |
| 404 | Not Found - Application or environment doesn't exist |
| 500 | Internal Server Error |
Example
curl -X DELETE "https://api.thevenin.cloud/environments/{envId}/app/{id}" \
-H "Authorization: Bearer tvn_your_api_token_here"
Notes
- This performs a soft delete (marked as
isDeleted: true) - Application data is preserved and can potentially be restored
- Resources are freed up for the environment quota
- Attached volumes, files, and variable sets are not deleted