Example code for deleting a contact:
<?php
use Getresponse\Sdk\Operation\Contacts\DeleteContact\DeleteContact;
use Getresponse\Sdk\Operation\Contacts\DeleteContact\DeleteContactUrlQueryParameters;
use Getresponse\Sdk\GetresponseClientFactory;
$contactId = 'aad';
$deleteContactOperation = new DeleteContact($contactId);
// Delete may allow adding some additional parameters. To achieve it, look for classes containing the prefix "UrlQueryParameters"
$deleteContactParams = new DeleteContactUrlQueryParameters();
$deleteContactParams->setIpAddress('127.0.0.1');
$deleteContactOperation->setUrlParameterQuery($deleteContactParams);
$client = GetresponseClientFactory::createWithApiKey('my_api_key');
$response = $client->call($deleteContactOperation);
if ($response->isSuccess()) {
print 'OK';
}