Is there an API for removing all attachments on a given page? It is a pain to remove the attachments one by one. That slows down the process. When a page is updated, we need to update the attachment as well. That results in one PUT call + calls as many as the number of attachments. So basically, to update a page you end up making multiple calls. Is there a way to delete all attachment at once? I can do a multipart POST call to upload all attachments back.
This document provides a step-by-step procedure on how to use the Confluence REST API to delete an attachment, provided you have the attachment ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.