ApiClient::delete()
flanderboy opened this issue · 0 comments
flanderboy commented
Hello,
i have a problem about ApiClient::delete(). I try the documentations example but:
Call to undefined method MediaMath\TerminalOneAPI\ApiClient::delete()
my code is:
use MediaMath\TerminalOneAPI\Auth\AdamaCookieAuth;
use MediaMath\TerminalOneAPI\ApiClient;
use MediaMath\TerminalOneAPI\Transport\GuzzleTransporter;
use MediaMath\TerminalOneAPI\Management;
use MediaMath\TerminalOneAPI\Reporting;
$auth = new AdamaCookieAuth($token);
$transport = new GuzzleTransporter($auth);
$client = new ApiClient($transport);
$orgs = $client->delete(new Management\Advertiser([
'id' => '...'
]));
var_dump($orgs->data());