Skip to main content

handle_delete_workflow_run

Function handle_delete_workflow_run 

Source
pub async fn handle_delete_workflow_run(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Path<String>,
) -> impl IntoResponse
Expand description

DELETE /api/workflows/runs/{run_id}

Deletes a workflow run from the WorkflowRuns space. Finds the item by run_id prefix matching (same strategy as the GET handler) then calls delete_item on the resolved kref.