public function logout($cltrid = false)
 {
     $json = ApiRequest::DELETE('/auth', $cltrid ?: ApiRequest::defaultClientTransactionID(), $this->getAuthToken());
     $this->_sessionData['login'] = null;
     $this->_sessionData['token'] = null;
     $this->_sessionData['created'] = 0;
     $this->_sessionData['expires'] = 0;
     return $json;
 }
 /**
  * Delete host
  * 
  * @param $hostname
  * 
  * @return str json info respose
  */
 public function delete($hostname, $cltrid = false)
 {
     $json = APIRequest::DELETE(sprintf("/hosts/%s", $hostname), $cltrid ?: ApiRequest::defaultClientTransactionID(), STRegistry::Session()->getAuthToken());
     return $json;
 }
 /**
  * return domain transfers hitory related to current domain owner
  * 
  * @param str $domainName
  * 
  * @return str json response
  */
 public function transfersHistory($domainName, $cltrid = false)
 {
     $json = APIRequest::GET(sprintf("/domains/%s/transfers", $domainName), $cltrid ?: ApiRequest::defaultClientTransactionID(), STRegistry::Session()->getAuthToken());
     return $json;
 }