updateSpaceSettings method
Future<SpaceSettings>
updateSpaceSettings({
- required String spaceKey,
- required SpaceSettingsUpdate body,
Updates the settings for a space. Currently only the
routeOverrideEnabled
setting can be updated.
Permissions required: 'Admin' permission for the space.
Implementation
Future<SpaceSettings> updateSpaceSettings(
{required String spaceKey, required SpaceSettingsUpdate body}) async {
return SpaceSettings.fromJson(await _client.send(
'put',
'wiki/rest/api/space/{spaceKey}/settings',
pathParameters: {
'spaceKey': spaceKey,
},
body: body.toJson(),
));
}