Ниже будет работать команда:
curl -k --noproxy "*" -X 'POST' -H 'Content-Type:application/json' -H "Authorization: Basic $(echo -n <druid username>:<password> | base64)" -d '{ "interval" : "<start interval>/<end interval>" }' https://<hostname>:<portno.>/druid/coordinator/v1/datasources/<datsource name>/markUnused
или
curl -k --noproxy "*" -X 'DELETE' -H 'Content-Type:application/json' {<druid_ds_url>}/{<DatasourceName>}