pub async fn delete_automation( __arg0: State<AppState>, __arg1: Path<String>, ) -> Result<StatusCode, ApiError>
DELETE /api/automations/{id} — remove it and its run history.
DELETE /api/automations/{id}