API Commands
[All Commands]

Update_Reseller_Hosting_Config


Modify Reseller-Hosting configuration.

Input:

string ssid token from Login
int warning_level Reseller-Hosting usage percentage at which an email notification will be sent (optional)
string exceed_handling what will happen when the Reseller-Hosting capacity is exceeded (reject = new orders not accepted; pending = new orders have a Pending status) (optional)

Output:

string status ok | error

Example:


<?php

$client 
= new SoapClient(null, [
    
'location' => 'http://regtons.com/soap/cmd.php',
    
'uri' => 'http://regtons.com/soap'
]);

$login_input = [
    
'login' => 'demo',
    
'password' => 'demouser'
];

$login_output $client->__call('Login', ['data' => $login_input]);

$input = [
    
'ssid' => $login_output['data']['ssid'],
    
'warning_level' => 75,
    
'exceed_handling' => 'pending'
];

$output $client->__call('Update_Reseller_Hosting_Config', ['data' => $input]);

print_r($input);
print_r($output);
$input: Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [warning_level] => 75 [exceed_handling] => pending ) $output: Array ( [status] => ok )

API Manual - version from 2023-05-12 12:15:50