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