Closed vinaynarasimhan closed 1 month ago
Hi! Could you please elaborate what do you mean by
shows same Public Key
Ah I think I know what u mean.. In this case, you could use Get WireGuard Configuration Information to get all the public keys and delete them with the delete peers API.
The reason of all .conf
files shows the same public keys is you're seeing the Server's public key, not peers' :)
Got it. Thanks.
Describe The Problem All conf files downloaded shows same Public Key.
But the file on Dashboard shows proper unique public key. So incase i want to bulk delete a conf using public keys via API, I will have to copy the public keys from gui one by one and then do the api call.
If the conf files get downloaded with correct Public keys. I can run my local script to grep the public keys from the file i want and run the bulk deletion api call.