updateSpacePropertyById method
Future<SpaceProperty>
updateSpacePropertyById({
- required int spaceId,
- required int propertyId,
- required SpacePropertyUpdateRequest body,
Update a space property by its id.
Permissions required: Permission to access the Confluence site ('Can use' global permission) and 'Admin' permission for the space.
Implementation
Future<SpaceProperty> updateSpacePropertyById(
{required int spaceId,
required int propertyId,
required SpacePropertyUpdateRequest body}) async {
return SpaceProperty.fromJson(await _client.send(
'put',
'spaces/{space-id}/properties/{property-id}',
pathParameters: {
'space-id': '$spaceId',
'property-id': '$propertyId',
},
body: body.toJson(),
));
}