Delete Attachment
confluence_delete_attachmentPermanently remove outdated, duplicate, or sensitive files from Confluence by specifying the attachment ID. This action deletes all versions and cannot be undone.
Instructions
Permanently delete an attachment from Confluence.
Warning: This action cannot be undone! The attachment and ALL its versions will be permanently deleted.
Use this tool to:
Remove outdated or incorrect attachments
Clean up duplicate files
Delete sensitive information that was accidentally uploaded
Best practices:
Verify the attachment ID before deletion using get_attachments
Consider downloading the attachment first as a backup
Check with content owners before deleting shared attachments
Args: ctx: The FastMCP context. attachment_id: The ID of the attachment to delete.
Returns: JSON string confirming deletion with attachment ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | The ID of the attachment to delete. Attachment IDs can be found using the get_attachments tool. Example: 'att123456789'. **Warning**: This permanently deletes the attachment and all its versions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |