deleteAttachmentPropertyById method

Future<void> deleteAttachmentPropertyById({
  1. required String attachmentId,
  2. required int propertyId,
})

Deletes a content property for an attachment by its id.

Permissions required: Permission to attachment the page.

Implementation

Future<void> deleteAttachmentPropertyById(
    {required String attachmentId, required int propertyId}) async {
  await _client.send(
    'delete',
    'attachments/{attachment-id}/properties/{property-id}',
    pathParameters: {
      'attachment-id': attachmentId,
      'property-id': '$propertyId',
    },
  );
}