Function delete_app

Source
pub async fn delete_app(
    platform_id: i64,
    app_id: String,
    db_manager: &State<Arc<DatabaseManager>>,
) -> Result<Json<Value>, (Status, Json<Value>)>
Expand description

Delete a specific application.

§Arguments

  • platform_id - Platform identifier
  • app_id - The ID of the application to delete
  • db_manager - Database manager for accessing platform-specific pools

§Returns

A JSON response indicating success or an error message