[GH-ISSUE #926] [api] Cannot delete user #1568

Open
opened 2026-08-05 00:43:03 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @kdre on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/926

Describe the problem
I accidently invited a user and mistyped his email address. Now I would like to delete this user as this wrong user is listed under "users". There is no way to use the UI to delete a user, so I tried it using the public api as described here: https://docs.netbird.io/api/resources/users#delete-a-user

When I try to delete the user I get as response:
{"message":"regular users can not be deleted","code":403}

I used the api before to delete groups, so I know that my access token is right ...

Expected behavior
The user should be deleted.

How can I delete the user?

Originally created by @kdre on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/926 **Describe the problem** I accidently invited a user and mistyped his email address. Now I would like to delete this user as this wrong user is listed under "users". There is no way to use the UI to delete a user, so I tried it using the public api as described here: https://docs.netbird.io/api/resources/users#delete-a-user When I try to delete the user I get as response: {"message":"regular users can not be deleted","code":403} I used the api before to delete groups, so I know that my access token is right ... **Expected behavior** The user should be deleted. How can I delete the user?
saavagebueno added the feature-request label 2026-08-05 00:43:03 -04:00
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1568