Stay organized with collections
Save and categorize content based on your preferences.
Version 4.0.25.14 (latest)
Create a theme
Creates a new theme object, returning the theme details, including the created id.
If settings are not specified, the default theme settings will be copied into the new theme.
The theme name can only contain alphanumeric characters or underscores. Theme names should not contain any confidential information, such as customer names.
Note: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or https://console.cloud.google.com/support/cases/ to update your license for this feature.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Create Theme\n\nVersion 4.0.25.14 (latest)\n\n### Create a theme\n\nCreates a new theme object, returning the theme details, including the created id.\n\nIf `settings` are not specified, the default theme settings will be copied into the new theme.\n\nThe theme `name` can only contain alphanumeric characters or underscores. Theme names should not contain any confidential information, such as customer names.\n\n**Update** an existing theme with [Update Theme](/looker/docs/reference/looker-api/latest/methods/Theme/update_theme)\n\n**Permanently delete** an existing theme with [Delete Theme](/looker/docs/reference/looker-api/latest/methods/Theme/delete_theme)\n\nFor more information, see [Creating and Applying Themes](https://cloud.google.com/looker/docs/r/admin/themes).\n\n**Note** : Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or \u003chttps://console.cloud.google.com/support/cases/\u003e to update your license for this feature.\n\nRequest\n-------\n\nPOST /themes \nDatatype \nDescription \nRequest \nHTTP Request \nbody \nHTTP Body \nExpand HTTP Body definition... \nbody \n[Theme](/looker/docs/reference/looker-api/latest/types/Theme) \nTheme\nExpand Theme definition... \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \nbegin_at \nstring \nTimestamp for when this theme becomes active. Null=always \nend_at \nstring \nTimestamp for when this theme expires. Null=never \nid \n*lock* \nstring \nUnique Id \nname \nstring \nName of theme. Can only be alphanumeric and underscores. \nsettings \n[ThemeSettings](/looker/docs/reference/looker-api/latest/types/ThemeSettings) \nHash of name/value pairs for theme settings. These names get validated.\n\nResponse\n--------\n\n### 200: Theme\n\nDatatype \nDescription \n(object) \n[Theme](/looker/docs/reference/looker-api/latest/types/Theme) \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \nbegin_at \nstring \nTimestamp for when this theme becomes active. Null=always \nend_at \nstring \nTimestamp for when this theme expires. Null=never \nid \n*lock* \nstring \nUnique Id \nname \nstring \nName of theme. Can only be alphanumeric and underscores. \nsettings \n[ThemeSettings](/looker/docs/reference/looker-api/latest/types/ThemeSettings) \nHash of name/value pairs for theme settings. These names get validated.\nExpand ThemeSettings definition... \nbackground_color \nstring \nDefault background color \nbase_font_size \nstring \nBase font size for scaling fonts (only supported by legacy dashboards) \ncolor_collection_id \nstring \nOptional. ID of color collection to use with the theme. Use an empty string for none. \nfont_color \nstring \nDefault font color \nfont_family \nstring \nPrimary font family \nfont_source \nstring \nSource specification for font \ninfo_button_color \nstring \n(DEPRECATED) Info button color \nprimary_button_color \nstring \nPrimary button color \nshow_filters_bar \nboolean \nToggle to show filters. Defaults to true. \nshow_title \nboolean \nToggle to show the title. Defaults to true. \ntext_tile_text_color \nstring \nText color for text tiles \ntile_background_color \nstring \nBackground color for tiles \ntext_tile_background_color \nstring \nBackground color for text tiles \ntile_text_color \nstring \nText color for tiles \ntitle_color \nstring \nColor for titles \nwarn_button_color \nstring \n(DEPRECATED) Warning button color \ntile_title_alignment \nstring \nThe text alignment of tile titles (New Dashboards) \ntile_shadow \nboolean \nToggles the tile shadow (not supported) \nshow_last_updated_indicator \nboolean \nToggle to show the dashboard last updated indicator. Defaults to true. \nshow_reload_data_icon \nboolean \nToggle to show reload data icon/button. Defaults to true. \nshow_dashboard_menu \nboolean \nToggle to show the dashboard actions menu. Defaults to true. \nshow_filters_toggle \nboolean \nToggle to show the filters icon/toggle. Defaults to true. \nshow_dashboard_header \nboolean \nToggle to show the dashboard header. Defaults to true. \ncenter_dashboard_title \nboolean \nToggle to center the dashboard title. Defaults to false. \ndashboard_title_font_size \nstring \nDashboard title font size. \nbox_shadow \nstring \nDefault box shadow. \npage_margin_top \nstring \nDashboard page margin top. \npage_margin_bottom \nstring \nDashboard page margin bottom. \npage_margin_sides \nstring \nDashboard page margin left and right. \nshow_explore_header \nboolean \nToggle to show the explore page header. Defaults to true. \nshow_explore_title \nboolean \nToggle to show the explore page title. Defaults to true. \nshow_explore_last_run \nboolean \nToggle to show the explore page last run. Defaults to true. \nshow_explore_timezone \nboolean \nToggle to show the explore page timezone. Defaults to true. \nshow_explore_run_stop_button \nboolean \nToggle to show the explore page run button. Defaults to true. \nshow_explore_actions_button \nboolean \nToggle to show the explore page actions button. Defaults to true. \nshow_look_header \nboolean \nToggle to show the look page header. Defaults to true. \nshow_look_title \nboolean \nToggle to show the look page title. Defaults to true. \nshow_look_last_run \nboolean \nToggle to show the look page last run. Defaults to true. \nshow_look_timezone \nboolean \nToggle to show the look page timezone Defaults to true. \nshow_look_run_stop_button \nboolean \nToggle to show the look page run button. Defaults to true. \nshow_look_actions_button \nboolean \nToggle to show the look page actions button. Defaults to true. \ntile_title_font_size \nstring \nFont size for tiles. \ncolumn_gap_size \nstring \nThe vertical gap/gutter size between tiles. \nrow_gap_size \nstring \nThe horizontal gap/gutter size between tiles. \nborder_radius \nstring \nThe border radius for tiles.\n\n### 400: Bad Request\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 404: Not Found\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 409: Resource Already Exists\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 422: Validation Error\n\nDatatype \nDescription \n(object) \n[ValidationError](/looker/docs/reference/looker-api/latest/types/ValidationError) \nmessage \n*lock* \nstring \nError details \nerrors \n[ValidationErrorDetail](/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\\[\\] \nExpand ValidationErrorDetail definition... \nfield \n*lock* \nstring \nField with error \ncode \n*lock* \nstring \nError code \nmessage \n*lock* \nstring \nError info message \ndocumentation_url \n*lock* \nstring \nDocumentation link \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 429: Too Many Requests\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\nExamples\n--------\n\n### Ruby"]]