Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users: destroy #12

Open
Tracked by #7
gbraad opened this issue Jul 2, 2023 · 1 comment
Open
Tracked by #7

Users: destroy #12

gbraad opened this issue Jul 2, 2023 · 1 comment

Comments

@gbraad
Copy link
Contributor

gbraad commented Jul 2, 2023

headscale users [user]

Flags

  • --force Disable prompts and forces the execution
@gbraad
Copy link
Contributor Author

gbraad commented Jul 2, 2023

$ sudo headscale users destroy gbraadnl --force -o json
{}

Note:
--force is needed to prevent the prompts:

? Do you want to remove the user '[user]' and any associated preauthkeys? (y/N) 
`

@gbraad gbraad mentioned this issue Jul 2, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant