Creation of dashboard through saved_objects API

Hi,

I am trying to create dashboard using saved_objects api. When I do the following,

POST /api/saved_objects/dashboard/test
{
"attributes": {
"title": "test",
"hits": 0,
"description": "",
"panelsJSON": "[{}]",
"optionsJSON": "{}",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{}"
}
}
}

I get the following error
{
"error": "no handler found for uri [/api/saved_objects/dashboard/test] and method [POST]"
}

I know what does this error means. I have created index-pattern, visualizations through this api. I am not able to understand what's going wrong here. Any suggestions or help is appreciated.

My bad I was trying to post using dev tools. Kindly ignore

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