Skip to main content

Tailscale/net

@josephholsten/tailscale/netv2026.06.22.1· 14d agoMODELS
01README

Tailscale tailnet device inventory via the API — sync all devices, delete stale entries

02Models1
@josephholsten/tailscale/netv2026.06.22.1net.ts

Global Arguments

ArgumentTypeDescription
tailnetstringTailnet name (e.g. 'example.com') or '-' for the default tailnet of the authenticated user
apiKeystringTailscale API key (tskey-api-...)
fn sync()
Read all devices from the Tailscale API and write one device resource per entry.
fn delete(nodeId: string)
Remove a device from the tailnet by nodeId. Run sync first to discover nodeId values.
ArgumentTypeDescription
nodeIdstringDevice nodeId from sync (shown in device resource attributes)

Resources

device(infinite)— Tailscale device in the tailnet
03Previous Versions1
2026.06.20.1Jun 22, 2026
04Stats
A
100 / 100
Downloads
0
Archive size
4.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels