Kibana API call unathorized

Hi team,

I have a series of dashboards that i need to copy from one kibana server to another. I tried using

POST http://<ip_address>:<kibana_port>/api/saved_objects/_export

However, all i get is

{
    "statusCode": 401,
    "error": "Unauthorized",
    "message": "Unauthorized"
}

Would I need to make an api to solve this issue? If so what access rights do i need to provide?

Hi @h.d.intodata,

Have you tried adding a token or API key to the call similar to the examples here.

Thank you for your help @carly.richmond that solved my problem.

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