Q:

How do I un-pair Apple Magic Keyboard 2 from a Mac that I don't have available?

I received a used Magic Keyboard 2 which was not un-paired from the previous Mac it was paired with.
I found a question that explains how to un-pair and re-pair the old Magic Keyboard (with batteries and power button), but haven't found a solution for the Magic Keyboard 2 yet.
How do I get this keyboard paired to a new Mac? I'm running macOS Mojave (10.14).

A:

Plug it into the new Mac with a Lightning Cable, that'll cause it to pair with the computer it's wired to.

