deleteDocument: deleteDocument - delete a document from your library.

View source: R/user_delete_document.r

deleteDocumentR Documentation

deleteDocument - delete a document from your library.

Description

Deletes from library if no folder is specified. Deletes from folder if a folder id is specified.

Usage

deleteDocument(mc = NULL, doc_id = NULL, folder_id = NULL, ...,
  curl = getCurlHandle())

Arguments

mc

OAuth object of class MendeleyCredentials

folder_id

Id of the folder which contains the document to be removed.

doc_id

Id of the document to be removed.

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

...

optional additional curl options (debugging tools mostly).

Author(s)

Karthik Ram karthik.ram@gmail.com

Examples

## Not run: 
deleteDocument(...)

## End(Not run)

ropensci/RMendeley documentation built on May 18, 2022, 8:58 a.m.