StatusCode:401, Unauthorized - Kibana - API request

Hi there,
I'm not able to find Kibana cases by API request.
This is the error I get :


I'm trying to find cases with this curl :

curl --user username:password -XGET ".../api/cases/_find?

I have the same problem when I'm trying with API Key instead of Basic Auth.

I'm on Elasticsearch on premise.

But when I do it with the DevConsole it works with this command with the same user and permissions :

GET kbn:/api/cases/_find

Could someone help me with this please ?
Have a nice day.

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