v18

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-05-21112432.1 KB
Management UI

Update theme by ID

Update either Portal or Portal Next theme.

User must have the ENVIRONMENT_THEME[UPDATE] permission.

put/ui/themes/{themeId}

Request body

OR

Example request

{
  "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"
          }
        ]
      }
    ]
  }
}

Response

The updated 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"
          }
        ]
      }
    ]
  }
}