Unable to delete datasources


I am trying to delete datasource “foo”.

I confirm that the datasource exists by running the following

curl -v ‘GET’
Then, I (try to) delete datasource “foo” as follows:

curl -v ‘DELETE’
The result looks like this:

Unfortunately, the above command does not have any affect, i.e.
the data are not deleted.

Do I miss something?

Above end point will just disable the datasource and not delete the segments.
To delete the segments send a DELETE request to -

  • /druid/coordinator/v1/datasources/{dataSourceName}/intervals/{interval}