Management UI

Get default theme

Get default theme for a given environment. Only PORTAL_NEXT is currently supported.

User must have the ENVIRONMENT_THEME[READ] permission.

get/ui/themes/_default

Request

  • Base URL
    /management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/environments/DEFAULT/ui/themes/_default
  • Auth
    none declared

Query parameters

type'PORTAL' | 'PORTAL_NEXT'

Available theme types

Filter by theme type

Response

The default theme.

OR

Example response

{
  "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
  "name": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
  "enabled": true,
  "definition": {
    "data": [
      {
        "name": "gv-tree",
        "css": [
          {
            "name": "--gv-tree-color",
            "description": "Color of gv-tree"
          }
        ]
      }
    ]
  }
}

Changes