updateLookAndFeel method

Future<LookAndFeelSelection> updateLookAndFeel({
  1. required LookAndFeelSelection body,
})

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.

Implementation

Future<LookAndFeelSelection> updateLookAndFeel(
    {required LookAndFeelSelection body}) async {
  return LookAndFeelSelection.fromJson(await _client.send(
    'put',
    'wiki/rest/api/settings/lookandfeel',
    body: body.toJson(),
  ));
}