Skip to content

Function: updateLookAndFeel()

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

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

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: 'Admin' permission for the space.

Parameters

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

Returns

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