Purge Fork Copies
purge_fork_copiesRemove page copies left on merged or archived forks without touching live pages or fork records. Use dry_run first to preview items before deleting.
Instructions
Delete the page copies still attached to a merged or archived fork. Requires admin role.
Merges clean up after themselves since v7.4; forks merged before that kept their copies. Live pages are never touched, and the fork record is kept. Active forks are refused.
Use dry_run: true first to see the count and the list of {id, full_path}. Returns the number deleted and writes an audit log entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, return the count and the list of {id, full_path} without deleting anything | |
| fork_id | Yes | ID of a merged or archived fork,required |