How to delete index through curl on a secure cluster

I know this is probably a basic question. I just cant seem to find the answer. I know I need to include the username and password -u:p but I am not sure of the exact format for the command. I am trying to delete the .kibana-2 index after upgrading to 6.5.1.

Thanks for any help.

Hey @bigdamhero, to only delete the .kibana-2 index, you'd execute the following CURL, substituting your own username/password and URL to access Elasticsearch:

curl -XDELETE http://localhost:9200/.kibana-2 -u elastic:changeme
1 Like

Rockin man, thank you!!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.