whmapi1 create_remote_user_transfer_session missing username?

plesk4lyf

Active Member
PartnerNOC
May 21, 2018
34
5
8
Sydney
cPanel Access Level
Root Administrator

cPanelTJ

Product Owner
Staff member
Jan 29, 2019
97
49
93
Houston, TX
cPanel Access Level
Root Administrator
Twitter
Hi Guys,

I have a case where I need to transfer about 100 accounts but I only have cPanel logins to all of them.

So I looked at WHM API 1 Functions - create_remote_user_transfer_session - Developer Documentation - cPanel Documentation

Has anyone used it before? One thing that stands out to me is that it doesn't have a username parameter... So how does it know what account the password belongs to?
Hi there @plesk4lyf ,

The creation of the session is just one of many steps that will need to be performed. Once the session is open, you can use the WHMAPI1 enqueue_transfer_item to queue the transfer of accounts. You can see the full steps of the transfer session process here: Guide to Transfer and Restore API Functions · cPanel & WHM Developer Portal