Index pattern creation and setting it as default at once

Hey, I am using Kibana's API to create index-patterns. So, I want to know that is there a way to create a index-pattern and at that time only, make it the default index-pattern? Basically, I want to do both the tasks with one single request. I searched the web but didn't find any solution for my requirement. Any help would be appreciated.

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