Skip to main content
Question

Get Enterprise Groups function doesn't return expected values with name parameter

  • May 22, 2025
  • 2 replies
  • 26 views

Forum|alt.badge.img

I have been testing implementation of sending the name parameter with the Get Enterprise Groups API call. The documentation states that I can include the parameter "name" and will "Only return groups whose name contains the given string (case insensitive)" 

 

My query does in fact reduce the results returned, but does not appear to follow my search query. 

For example, let's say my groups are:

1) Test Group 01

2) Test Group 02

3) Test Group Users

4) Onboarding Users Set

 

My query in the name field is "Test Group 01," and my results seem to include #'s 1, 2, and 3. I'm not sure if I'm using the endpoint incorrectly, or if I'm assuming the API is matching against each separate word in the string that is sent. 

 

Does anyone have any clarification? 

2 replies

Forum|alt.badge.img

As a follow up to this post, I solved the issue by including quotes in the string I was passing to the endpoint.

 

Thank you to the Box staff that helped me figure out the solution!


Forum|alt.badge.img

For other users seeing this, the syntax would like the following: