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 “http://192.168.5.129:16578/api/kibana/settings/theme:darkMode” -H “kbn-xsrf: true”

TIA
Blason R