public function removeById($collection, $documentId, $revision = null, array $options = [])
    {
        return $this->erase(Urls::URL_DOCUMENT, $collection, $documentId, $revision, $options);
    }
public function removeById($collection, $documentId, $revision = null, array $options = [])
    {
        return $this->erase(Urls::URL_DOCUMENT, $collection, $documentId, $revision, $options);
    }
public function removeById ( $ collection , $ documentId , $ revision = null , array $ options = [ ] ) { return $ this -> erase ( Urls :: URL_DOCUMENT , $ collection , $ documentId , $ revision , $ options ) ; }
Remove a document from a collection, identified by the collection id and document id

@throws Exception

@param mixed $collection    - collection id as string or number
@param mixed $documentId    - document id as string or number
@param mixed $revision      - optional revision of the document to be deleted
@param array $options       - optional, array of options
<p>Options are :
<li>'policy' - update policy to be used in case of conflict ('error', 'last' or NULL [use default])</li>
<li>'waitForSync' - can be used to force synchronisation of the document removal operation to disk even in case that the waitForSync flag had been disabled for the entire collection</li>
</p>

@return bool - always true, will throw if there is an error
Remove a document from a collection identified by the collection id and document id