The Get Guild Prune Count and Begin Guild Prune endpoints require the ADMINISTRATOR permission if the guild has the new PRUNE_REQUIRES_ADMIN guild feature, which can be enabled by the server owner.
Without this guild feature, the endpoints still require the MANAGE_GUILD and KICK_MEMBERS permissions.