restore_attachment
Restore a deleted attachment to its page using the attachment's numeric ID. Provide the collective ID, page ID, and attachment ID to complete the recovery.
Instructions
Restore a deleted attachment from the page's attachment trash. Takes the numeric attachment id — a trashed attachment no longer appears in list_attachments, so there is no name to look up. delete_attachment returns the id you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| attachmentId | Yes | Attachment id, as returned by delete_attachment. | |
| collectiveId | Yes |