Activate a Theme

This applies to: Visual Data Discovery

To set the active theme in your Symphony environment, you need to activate it.

To activate a theme

  1. Obtain the theme ID. You can do this by listing the themes in your environment. See List Themes.

  2. Use the /api/customization/themes/activate API endpoint in a POST request to activate the theme. The following request activates the supplied dark theme.

    curl -X POST "http://<ip-address>:<port>/composer/api/customization/themes/activate" -H "accept: application/vnd.composer.v3+json" -H "Content-Type: application/json" -d "{ \"id\": \"dark\"}"

    where <ip-address> is the IP address or host name of your Symphony instance and <port> is its port.

    The theme is set as the active theme for the UI. You must refresh your UI screen to see it.