See and alter logins attached to a user from the API

Could we get the ability to see and alter the logins attached to a user in sophos as highlighted below

The reason I want to do this is due to a large number of duplicate users in our Sophos central estate because of how our Apple Macs show users as being local and not domain attached causing a new entry to be created for each user on each machine.

I already have a PowerShell script to find all the users that need merging, I just need a way of being able to access the logins on a user via the API to automatically merge them.