Пример #1
0
 /**
  * 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;
 }