Lightweight read-only companion to tb_setup_devices: when you
only need a device's internal UUID (e.g. to call the telemetry-delete
endpoint), this returns it directly without touching the access token or
creating the device on the side. Returns NA_character_ when the device
does not exist.
Usage
tb_get_device_id(
device_name,
api_key = Sys.getenv("TB_API_KEY"),
host = Sys.getenv("TB_HOST", unset = "https://thingsboard.cloud")
)