Delete Page Attachment
page_delete_attachmentDelete an attachment from a Yandex Wiki page using its file ID. The page content stays untouched, so any file macros referencing the attachment remain broken.
Instructions
Delete an attachment from a Yandex Wiki page. File ids come from page_get_attachments. Does not touch page content — any file macro referencing the attachment stays behind, broken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| file_id | Yes | Attachment (file) numeric ID, as listed by page_get_attachments. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| file_id | Yes | ||
| page_id | Yes |