Management UI
Update theme by ID
Changed onUpdate either Portal or Portal Next theme.
User must have the ENVIRONMENT_THEME[UPDATE] permission.
put/ui/themes/{themeId}
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/{themeId}
- Authnone declared
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"
}
]
}
]
}
}Changes
- info
endpoint added
- info