updateSpace method
Updates the name, description, or homepage of a space.
- For security reasons, permissions cannot be updated via the API and must be changed via the user interface instead.
- Currently you cannot set space labels when updating a space.
Permissions required: 'Admin' permission for the space.
Implementation
Future<Space> updateSpace(
{required String spaceKey, required SpaceUpdate body}) async {
return Space.fromJson(await _client.send(
'put',
'wiki/rest/api/space/{spaceKey}',
pathParameters: {
'spaceKey': spaceKey,
},
body: body.toJson(),
));
}