When i tried to delete the kibana index with curl -u admin:password http://localhost:9200/* -XDELETE | jq
, I am getting the following
{
"error": {
"root_cause": [
{
"reason": "forbidden",
"due_to": [
"OPERATION_NOT_ALLOWED"
]
}
],
"reason": "forbidden",
"due_to": [
"OPERATION_NOT_ALLOWED"
],
"status": 401
}
}
readonly rest config
readonlyrest:
access_control_rules:
- name: "Require HTTP Basic Auth"
type: allow
auth_key: user:password