Skip to content

Unable To Remove Assigned IP After Deauthorize and Delete A Member Via Zerotier One localhost:9993 API #109

Answered by jerrychong25
jerrychong25 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dec0dOS ,

Found the solution.

POST API can clear previously assgined IPs and deauthorize a member ID via following ways:

Request:
curl -X POST "http://localhost:9993/controller/network/XXXXXXXXXXXXXXX/member/aaaaaaaaaaaaa" -H "X-ZT1-AUTH: auth_token_here" -d '{"authorized": false, "ipAssignments": []}'

Just set ipAssignments as empty array will clear all previous assgined IPs.

Thanks for helping!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jerrychong25
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jerrychong25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants