Settings

Set the active theme

Sets the theme active for the authenticated user. Send the reserved sentinel themeId: "default" to clear the active theme and fall back to the built-in default. Returns the updated active theme.

put/analytics/v1/settings/active-theme

Request

  • Base URL
    https://api.doit.com
  • URL
    https://api.doit.com/analytics/v1/settings/active-theme
  • Auth
    • API key in header Authorization
    • or API key in header X-Tenant-Id and API key in header Authorization

Request body

themeIdstring required

Identifier of the theme to activate. Send the reserved sentinel "default" to clear the active theme and fall back to the built-in default.

Response

OK - Active theme updated.

themeIdstring required

Identifier of the active theme. The reserved sentinel "default" is returned when the user is using the built-in default (no custom or preset theme stored).

Changes

No recorded changes to this operation across all 1 revision of this API.