Call the IasCrawler.deleteCrawl() method to delete an existing crawl.
The syntax of the method is:
IasCrawler.deleteCrawl(CrawlId crawlId)
The crawlId parameter is a CrawlId object that contains the name of the crawl to be deleted.
To delete a crawl: