How to change dark mode theme

Hi Folks,

Does anyone know how do I make the changes in Kibana API interface and wanted to change the theme: Darkmode. I believe there is an API however I am not sure with kibana security how to POST it.

There is undocumented API available theme:darkMode

curl -XPOST -u admin “” -H “kbn-xsrf: true”

Blason R