I need to delete all the Users from a particular Group on my Portal. I initially attempted a group first approach but realized that there wasn't an efficient way to access the users via the group. Therefore, I took a user approach.
The logic for identifying the users group and deleting the users is working however, I have yet to find a way to iterate through all of the portal users. The search either times out or returns the errors below.

I know it has something to do with the query but I have yet to find adequate search query documentation for the Python API.
Search—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers
Search reference—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers
Can someone please point me in the direction of the correct user search syntax or assist with troubleshooting this issue?
Thanks.