public function delete($resourcePath, $queryParameters = array(),
                        $mimeType = 'application/vnd.maileon.api+xml',
                        $deserializationType = null)
    {
        $curlSession = $this->prepareSession($resourcePath, $queryParameters, $mimeType);
        curl_setopt($curlSession, CURLOPT_CUSTOMREQUEST, "DELETE");
        return $this->performRequest($curlSession, $deserializationType);
    }
public function delete($resourcePath, $queryParameters = array(),
                        $mimeType = 'application/vnd.maileon.api+xml',
                        $deserializationType = null)
    {
        $curlSession = $this->prepareSession($resourcePath, $queryParameters, $mimeType);
        curl_setopt($curlSession, CURLOPT_CUSTOMREQUEST, "DELETE");
        return $this->performRequest($curlSession, $deserializationType);
    }
public function delete ( $ resourcePath , $ queryParameters = array ( ) , $ mimeType = 'application/vnd.maileon.api+xml' , $ deserializationType = null ) { $ curlSession = $ this -> prepareSession ( $ resourcePath , $ queryParameters , $ mimeType ) ; curl_setopt ( $ curlSession , CURLOPT_CUSTOMREQUEST , "DELETE" ) ; return $ this -> performRequest ( $ curlSession , $ deserializationType ) ; }
Performs a DELETE operation on a resource.

@param string $resourcePath
the resource to DELETE
@param array $queryParameters
any additional query parameters
@param string $mimeType
the acceptable response MIME type
@param mixed $deserializationType
The name of the class this result should be deserialized as. Use
array( 'array', 'typename' ) to deserialize arrays of a type.
@return \em MaileonAPIResult
the result object of the API call
@throws MaileonAPIException
if there was a connection problem or a server error occurred
Performs a DELETE operation on a resource .