K kebirhost Verified User Joined Jul 8, 2019 Messages 110 Jul 13, 2019 #1 Hello, Could you add API to change the user package? This is very important after cpanel migrations. Thanks, Melih
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 9,158 Jul 13, 2019 #2 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
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