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