resetLookAndFeelSettings method
Resets the custom look and feel settings for the site or a single space. This changes the values of the custom settings to be the same as the default settings. It does not change which settings (default or custom) are selected. Note, the default space settings are inherited from the current global settings.
Permissions required: 'Admin' permission for the space.
Implementation
Future<void> resetLookAndFeelSettings({String? spaceKey}) async {
await _client.send(
'delete',
'wiki/rest/api/settings/lookandfeel/custom',
queryParameters: {
if (spaceKey != null) 'spaceKey': spaceKey,
},
);
}