Kibana 7.x dark mode

Is there a way to set kibana dark mode using an API?
(The equivalent of flipping the 'dark mode' switch on Management > Advanced settings)

Thanks in advance!

There is an API, however it is not publicly documented so it is subject to change at any time. You can use it to set the dark mode setting like this:

POST <kibana-host>/api/kibana/settings/theme:darkMode
	"value": true

Thanks @Bargs!
As long there will be support to set darkMode on the future, I don't mind changing the API.

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