Skip to main content

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

ParameterTypeRequiredDescription
envIdstring (UUID)YesEnvironment ID containing the application
idstring (UUID)YesApplication ID to delete

Response

Success Response (200 OK)

{
"message": "Application deleted successfully",
"id": "550e8400-e29b-41d4-a716-446655440000"
}

Error Responses

Status CodeDescription
400Bad Request - Invalid UUID format
401Unauthorized - Invalid or missing authentication
403Forbidden - User doesn't have access to this application
404Not Found - Application or environment doesn't exist
500Internal 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