Devices
TV code login and device registrations, under client.devices.
devices.login(pin)
Log a TV or car into your account with the 9-character PIN it shows. Runs the device_login OCF flow and returns its next step.
js
const next = await client.devices.login("A1B2C3D4E");devices.unregister(phoneNumber)
Stop SMS updates to a phone number. Uses the v1.1 device/unregister endpoint.
devices.dmKeys(userId?)
List the devices registered for encrypted DMs, with deviceType, isCurrent, registrationToken and registeredAt. Uses v1.1 keyregistry/extract_public_keys.
devices.deleteDmKey(registrationToken)
Remove a device registered for encrypted DMs. Returns the HTTP status.