Delete document

Deleting a document will delete all dependent information such as extra fields and attachments
con.delete(parentid, "myrefid");