Skip to main content

I am successfully connected to and pulling users from the GET /manage/v1/user endpoint, however, I want to make use of the optional "filters" input to limit the results to only Power Users or Super Admins. This means I have to filter on the "level" attribute of the user. Can anyone explain the syntax for this sort of filter? The API explorer gives the following description on the field: serialize object containing list of filters and their options. I have tried a few options, the only one I have gotten results for (no Internal Server Error), but still the filter does not seem to be applied is this:

[{"level" : {"criteria" : "not_equal", "value" : "user" }}]

I cannot get the syntax correct and keep getting Internal Server Errors otherwise. Any help or examples would be great!

You were super close above, try this:

[{"level":{"option":"not_equal","value":"user"}}]

 


You were super close above, try this:

[{"level":{"option":"not_equal","value":"user"}}]

 

This worked for us, too - thank you!


Thank you!

 


Reply