pageid Page ID of the page to delete. Cannot be used together with title.
But https://meta.wikimedia.org/w/api.php?action=help&modules=undelete requires a title. It's much more convenient for language-independent tools to be able to use the pageid. So make it similar to delete which can use either a page title or pageid.