Is delete all segments the only way to drop a datasource?

I am using hdfs as deep storage. Following, I delete all segments of a datasource. But I noticed that the datasource folder still exists on hdfs under /segments/, empty though. Just wondering whether there is another way to drop the datasource completely.


$curl -XDELETE http://host:8081/druid/coordinator/v1/{datasource-name}

Thought $curl -XDELETE http://host:8081/druid/coordinator/v1/{datasource-name} only disabled the datasource, but deep storage still exists. Presumably the datasource should still exist in metadata store too.