delete_attachment
Remove an attachment from a page by specifying collective ID, page ID, and filename. Returns the deleted attachment's ID so you can restore it if needed.
Instructions
Delete an attachment from a page. Returns the deleted attachment including its id, which restore_attachment needs to undo this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| filename | Yes | Attachment filename to delete. | |
| collectiveId | Yes |