You will need to generate an API access token from the keys page on the Tailscale dashboard.
To find your device ID, go to the machine overview page and select your machine. In the "Machine Details" section, copy your
ID. It will end with
["address", "last_seen", "expires"].