Truenas Scale API -> how to change the theme?

How to change the theme in Truenas Scale v24.04 using the API?

I searched in the API html for ‘gui’ and ‘theme’ but no luck.

API /system/general has no reference to ‘gui’ or ‘theme’

truenas.com/docs/scale/24.04/api/scale_rest_api.html

1st time I have seen this request.

It may not be something we thought was required. WebUI users would set their own theme. Why do it via REST API when it has no impact on REST API user?

1 Like

It can be good to visually differentiate from “production” systems and “toy” systems…

Not sure if that’s why OP wants the ability… bit if the UI does it, it should be possible via the REST api right?

1 Like

Changing the UI theme via API is not supported.

@Stux Exactly