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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { lookAndFeelType: "custom" | "global" | "theme"; spaceKey: string; } | - |
parameters.lookAndFeelType | "custom" | "global" | "theme" | - |
parameters.spaceKey | string | The key of the space for which the look and feel settings will be set. |
Returns
Promise<{ [key: string]: unknown; lookAndFeelType: "custom" | "global" | "theme"; spaceKey: string; }>