src/Iadvize/ApiRestClient/Client.php
public function deleteResource($name, $identifier)
    {
        $this->lastRequest = new Request();
        $this->lastRequest->setMode(Request::MODE_DELETE);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);

        $response = $this->proceed();

        return $response->getMeta()->getStatus() == Response\Meta::STATUS_SUCCESS;
    }
public function deleteResource($name, $identifier)
    {
        $this->lastRequest = new Request();
        $this->lastRequest->setMode(Request::MODE_DELETE);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);

        $response = $this->proceed();

        return $response->getMeta()->getStatus() == Response\Meta::STATUS_SUCCESS;
    }
Delete resource

@param string $name       Name
@param int    $identifier Identifier

@return bool