[GH-ISSUE #2659] Make endpoint for fetching group by it's name #5837

Closed
opened 2026-08-05 01:05:25 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @alexcupertme on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2659

Is your feature request related to a problem? Please describe.

Because groups have unique names, it will be great if we can fetch it by its name. It can be used in any script/software which relies on specific group and makes it more clear, which group we use, not just bunch of symbols - ID.

Describe the solution you'd like
GET method /api/groups/ with query parameter groupName

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @alexcupertme on GitHub (Sep 27, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2659 **Is your feature request related to a problem? Please describe.** Because groups have unique names, it will be great if we can fetch it by its name. It can be used in any script/software which relies on specific group and makes it more clear, which group we use, not just bunch of symbols - ID. **Describe the solution you'd like** GET method /api/groups/ with query parameter groupName **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
saavagebueno added the feature-requestapi labels 2026-08-05 01:05:25 -04:00
Author
Owner

@PizzaLovingNerd commented on GitHub (May 26, 2026):

Should be implemented. Groups can be fetched by exact name using GET /api/groups?name=<group_name>.

Docs: https://docs.netbird.io/api/resources/groups#list-all-groups

<!-- gh-comment-id:4549620051 --> @PizzaLovingNerd commented on GitHub (May 26, 2026): Should be implemented. Groups can be fetched by exact name using `GET /api/groups?name=<group_name>`. Docs: https://docs.netbird.io/api/resources/groups#list-all-groups
Sign in to join this conversation.
No Label api feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#5837