Skip to content

Function: deleteAttachmentPropertyById() ​

ts
function deleteAttachmentPropertyById(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/v2/api/contentProperties.ts:372

Deletes a content property for an attachment by its id.

Permissions required: Permission to attachment the page.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ attachmentId: string; propertyId: number; }-
parameters.attachmentIdstringThe ID of the attachment the property belongs to.
parameters.propertyId?numberThe ID of the property to be deleted.
options?RequestOptions-

Returns ​

Promise&lt;void>