deleteCustomContentPropertyById method

Future<void> deleteCustomContentPropertyById({
  1. required int customContentId,
  2. required int propertyId,
})

Deletes a content property for a piece of custom content by its id.

Permissions required: Permission to edit the custom content.

Implementation

Future<void> deleteCustomContentPropertyById(
    {required int customContentId, required int propertyId}) async {
  await _client.send(
    'delete',
    'custom-content/{custom-content-id}/properties/{property-id}',
    pathParameters: {
      'custom-content-id': '$customContentId',
      'property-id': '$propertyId',
    },
  );
}