API for Package Change

kebirhost

Verified User
Joined
Jul 8, 2019
Messages
84
Hello,

Could you add API to change the user package? This is very important after cpanel migrations.

Thanks,
Melih
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,937
Hello Melih,

Should already be there. Just change CMD_* to be CMD_API_* with the same values.

For this above example, you'd use, for example:

CMD_API_MODIFY_USER
method: POST
action=package
user=fred
package=goldpackage

John
 
Top