Jump to content
View in the app

A better way to browse. Learn more.

AlphaGNU

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Reseller package update in CWP pro from clientexec not working - API set up

Featured Replies

Posted

Hi,

I have set up a few reseller packages in CWP pro. I have set up the API as per WHMCS. The user is getting created from clientexec, however I want to assign them the reseller packages. However the new user is getting created with Default package. 

I think i might be missing some API permissions. Which API permissions are required to assign reseller packages. 

 

you can check here 

https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add

$data = array(“key => MYKEY”,”action”=>’add’, domain”=>’MY_DOMAIN’, user”=>’USER’, pass”=>’PASSWORD’, email”=>’email@account’, package”=>’PACKAGE_NAME’, inode”=>’0’,”limit_nproc”=>’40’,”limit_nofile”=>’0’,”server_ips”=>’MY_IP_SERVER’);
$url = https://IPSERVERAPI:2304/v1/account”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, POST”);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt ($ch, CURLOPT_POST, 1);
$response = curl_exec($ch);
curl_close($ch);

 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.