View Source

This is an example of an RPC call code snippet for disabling a pool/specific license.
{noformat}
#### For disabling the pool/specific license
#### Make RPC Call Start ####
$xmlrpc_msg = new xmlrpcmsg('licensing.disableLicense', array(
new xmlrpcval($licPool, 'string')
));
$reply = $client->send($xmlrpc_msg);
#### Make RPC Call End ####

{noformat}

h4. Response Example

Here is an example of a response to the XML-RPC request:
{code}Array (
[Enabled] =>
[License Pool ID] => 345345345-d986-4ec5-be53-345345435
[Product] => Enterprise Edition (Linux)
[Type] => Pooled License
[Installed] =>
[ID] => 345345435-7e99-4793-be36-345345345
[Physical Servers] => 1
){code}