Skip to content

Function: updateLookAndFeel() ​

ts
function updateLookAndFeel(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  lookAndFeelType: "custom" | "global" | string & object | "theme";
  spaceKey: string;
}>;

Defined in: src/v1/api/settings.ts:51

Sets the look and feel settings to the default (global) settings, the custom settings, or the current theme's settings for a space. The custom and theme settings can only be selected if there is already a theme set for a space. Note, the default space settings are inherited from the current global settings.

Permissions required: manage/look-and-feel permission for the space.

Note: To find the display name for each permission ID, call the Get available space permissions API.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ lookAndFeelType: "custom" | "global" | string & object | "theme"; spaceKey: string; }-
parameters.lookAndFeelType"custom" | "global" | string & object | "theme"-
parameters.spaceKey?stringThe key of the space for which the look and feel settings will be set.
options?RequestOptions-

Returns ​

Promise&lt;{ [key: string]: unknown; lookAndFeelType: "custom" | "global" | string & object | "theme"; spaceKey: string; }>