capabilities.work

Replace an attachment's file contents

One step with Atlassian. We can help you get access.

Get something done

Replace an attachment's file contents

Use Atlassian: its Atlassian The Confluence Cloud REST Content - Attachments… lets you replace an attachment's file contents in a single step (POST /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data). capabilities.work can help you get signed up and connected.

  • How do I upload a new version of an existing attachment by its ID?
  • Can I replace just the binary data of one attachment?
Say it to your AI assistant
  • Replace the data of attachment {attachmentId} on content {id} with {file}.
  • Upload {file} as a new version of attachment {attachmentId}, minor edit {minorEdit}.
For your developer

POST /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data in Atlassian The Confluence Cloud REST Content - Attachments…. Full spec on APIs.io.