title: How do I undo an ingestion in Azure Data Explorer (Kusto)?
body: <p>Context: I'm following this guide: <a href="https://docs.microsoft.com/en-us/azure/kusto/api/netfx/kusto-ingest-client-examples" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/kusto/api/netfx/kusto-ingest-client-examples</a></p>
  
  <p>I'm using <code>IngestFromStorageAsync</code> - I see that the results have an <code>IngestionSourceId</code> (a GUID) - but I don't know what to do with this. (this is not the extent id)</p>
  
  <p>I was assuming that you could use this ID to remove all the records that were imported...</p>
  
  <p>Does anyone know how to undo an ingestion?</p>
  
  <hr>
  
  <p>Currently, I'm using <code>.show cluster extents</code> to show the extent ids, then I call <code>.drop extent [id]</code>.  Is this the right way to undo an ingestion?</p>