Documentation states that results of querying listing of members could possibly be restricted by xprofile discipline of string sort:
https://developer.buddypress.org/bp-rest-api/reference/members/#arguments
However what’s the string format? I can’t discover info wherever. Does it work in any respect?