Kibana APIs: No handler found for uri

Hi, I am trying to do a curl request to the Kibana APIs but getting error that the handler does not exist. For eg.

curl -H 'kbn-xsrf: true' -H "Authorization: Basic <token>" <kibana_host>:<kibana_port>/api/saved_objects/index-pattern/<id> 

{"error":"no handler found for uri [/api/saved_objects/index-pattern/436678e0-0784-11ed-8c0a-51428f0989c8] and method [GET]"}

What am I doing wrong?

Update: I was using the elasticsearch endpoint instead of the kibana endpoint

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