v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Settings

Update a custom theme

Updates the custom theme specified by the Id. Requires Cloud Analytics Admin permission.

patch/analytics/v1/settings/themes/{id}

Path parameters

idstring required

Custom theme ID

Request body

namestring nullable

The display name of the custom theme.

primaryColorstring

A color in hex notation. Accepts #RGB, #RRGGBB, or #RRGGBBAA.

Example request

{
  "primaryColor": "#1A73E8",
  "colors": {
    "light": [
      "#1A73E8"
    ],
    "dark": [
      "#1A73E8"
    ]
  }
}

Response

OK - Custom theme updated.

idstring required

The unique identifier of the custom theme.

namestring required

The display name of the custom theme.

primaryColorstring required

A color in hex notation. Accepts #RGB, #RRGGBB, or #RRGGBBAA.

createTimestring date-time

The creation time of the custom theme.

updateTimestring date-time

The time when the custom theme was last updated.

Example response

{
  "primaryColor": "#1A73E8",
  "colors": {
    "light": [
      "#1A73E8"
    ],
    "dark": [
      "#1A73E8"
    ]
  }
}