Delete workflow

DELETE/workflows/{id}

Deletes a workflow definition by its ID

RequiresBearerauthentication

Path parameters

idstring (uuid)required

ID of the workflow to delete

Returns  

Successfully deleted workflow

Response fields

successbooleanoptional
messagestringoptional
DELETERequest
# Get authentication token
PHENOML_TOKEN=$(curl -X POST "https://experiment.app.pheno.ml/v2/auth/token" \
  -u "$PHENOML_CLIENT_ID:$PHENOML_CLIENT_SECRET" \
  | jq -r '.access_token')

curl -X DELETE "https://experiment.app.pheno.ml/workflows/{id}" \
  -H "Authorization: Bearer $PHENOML_TOKEN"
200 OKExample Response
{
  "success": true,
  "message": "Workflow deleted successfully"
}