Content - attachments
Update attachment properties
Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type, comment, and parent container.
Permissions required: Permission to update the content.
put/wiki/rest/api/content/{id}/child/attachment/{attachmentId}
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/wiki/rest/api/content/{id}/child/attachment/{attachmentId}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:confluence-file, write:confluence-props
Path parameters
idstring required
The ID of the content that the attachment is attached to.
attachmentIdstring required
The ID of the attachment to update.
Request body
Response
Returned if the attachment is updated.
Changes
No recorded changes to this operation across all 2 revisions of this API.