updatePagePropertyById method
Future<ContentProperty>
updatePagePropertyById({
- required int pageId,
- required int propertyId,
- required ContentPropertyUpdateRequest body,
Update a content property for a page by its id.
Permissions required: Permission to edit the page.
Implementation
Future<ContentProperty> updatePagePropertyById(
{required int pageId,
required int propertyId,
required ContentPropertyUpdateRequest body}) async {
return ContentProperty.fromJson(await _client.send(
'put',
'pages/{page-id}/properties/{property-id}',
pathParameters: {
'page-id': '$pageId',
'property-id': '$propertyId',
},
body: body.toJson(),
));
}