Skip to main content
Participant
May 1, 2025
Question

How to user Adobe Connect API to change a user's manager

  • May 1, 2025
  • 1 reply
  • 124 views

Greetings,

 

I'm looking for a way to change a user's manager via the API.

 

I can query the manager info using:

$FullResponse = Invoke-RestMethod ('https://mywebsite/api/xml?action=principal-info&principal-id=' + $PrincipalID) -WebSession $Session

$ManagerID = $FullResponse.results.manager.'principal-id'
$ManagerName = $FullResponse.results.manager.name
$ManagerEmail = $FullResponse results.manager.email

 

And then writing the information to the screen, but so far I have not found a way to change the manager via the API.

 

Any help would be appreciated.

 

Thanks,

1 reply

Participating Frequently
May 29, 2025

To update a users' manager, you would use a user-manager-update API and pass the principal-id of the user to update; and a manager-id of the ID of the user that should be their manager:

 

https://{CONNECT_DOMAIN}/api/xml?action=user-manager-update&principal-id={USER_ID}&manager-id={MANAGER_ID}

 

-Andrew