Currently, there is no API's for that particular approach but you can get all the owners and then filter them separate them by name after looping on them.
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution. Thanks and Regards.
My only concern is why fetch all the owners (particularly if there are thousands of owners in an organization). Looks like, the only way is what you said now.
In case you find some other way, please let me know.
Currently, there is no API's for that particular approach but you can get all the owners and then filter them separate them by name after looping on them.
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution. Thanks and Regards.