I’m trying to put my ElasticSearch DB in read only mode, following this page:
https://www.elastic.co/guide/en/enterprise-search/7.17/read-only-api.html
however when i run the
curl -X GET http://localhost:9200/api/ent/v1/internal/read_only_mode -H "Content-Type: application/json" -u username:password
with the right username and password,i get:
{"error":"no handler found for uri [/api/ent/v1/internal/read_only_mode] and method [GET]"}
any idea on how to solve it?