paperclip_delete_attachment
Permanently delete an attachment by UUID to remove superseded or mistakenly uploaded files from an issue.
Instructions
Permanently delete an attachment by ID.
Args:
attachmentId: string — Attachment UUID (example: "att_abc123")
Returns: Returns the deleted attachment stub: id, filename, confirming deletion.
Examples:
Use when: removing a superseded or mistakenly uploaded file from an issue
Don't use when: you want to read the file first — use paperclip_download_attachment before deleting
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: attachment not found → verify UUID with paperclip_list_attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentId | Yes | Attachment UUID |