This topic leads you quickly to topics that describe deleting of various content.
Delete editions by command line
Delete editions with shared layers by command line
Delete individual pages and layers by command line
Auto-delete editions and linked content
Undelete editions by command line
Delete and undelete an article or element
Deleting articles by scripting