subAccountUpdateStatus
public subAccountUpdateStatus(string token, string id, string status)
Update Subaccount status for Benchmark user, please note you need to be approved by Benchmark for being able to create/edit Subaccounts
Parameters
|
string token | Your Benchmark Email token |
array id | Your Benchmark Email Subaccount ClientID |
array status | Your Benchmark Email Subaccount status |
- <?php
- /**
- This Example shows how to Update Subaccount details using XML-RPC.
- Note that we are using the PEAR XML-RPC client and recommend others do as well.
- **/
- require_once 'XML/RPC2/Client.php';
- require_once 'inc/config.php';
- $client = XML_RPC2_Client::create($apiURL);
- $token = $client->login($apiLogin, $apiPassword);
- $id = "XXXX"; \\ This should be a number
- $status = "0";
- $client->subAccountUpdateStatus($token, $id , $status );
- ?>