Use the DeleteAnalysis command to delete a previously created analysis.
stdCmdDeleteAnalysis = "<DeleteAnalysis ID=""2""/>"
For example: