Remove an attachment - Fluid Topics - Latest

Fluid Topics Control File

Category
Technical Notes
Audience
public
Version
Latest

Administrators can remove an attachment by uploading a control file asynchronously.

The following lines show a control file that removes an attachment from a document:

<?xml version='1.0' encoding='utf-8'?>
<controlFile>
    <resources>
        <resource>
           <filePath>path_to_the_document_to_be_updated</filePath>
           <attachments>
              <attachment>
                 <originId>origin_id_of_the_attachment_to_delete</originId>
                 <isAttached>false</isAttached>
              </attachment>
           </attachments>
        </resource>
    </resources>
</controlFile>