tailscale / tailscale-client-go

A client implementation for the Tailscale HTTP API
MIT License
61 stars 27 forks source link

Implements the device delete endpoint #2

Closed pellegrino closed 2 years ago

pellegrino commented 2 years ago

Added support for deleting devices using the go client. Needed as I want to add support for removing devices in the terraform provider as another user requested here

This commit adds the capability of deleting devices based on their IDs.

davidsbond commented 2 years ago

Hello @pellegrino, thank you for this! I am currently transporting a Soviet era Lada from Portugal to the UK but will take a look as soon as I am back next week

pellegrino commented 2 years ago

Hey, @davidsbond that sounds like fun!

No worries, just let me know if you would like to see any changes, whenever you are ready to.

pellegrino commented 2 years ago

Just made the changes you suggested and also updated the README.md to fix its code example.

davidsbond commented 2 years ago

Cool, thanks @pellegrino this looks good to me