'Delete remote document by name
:param doctype: `doctype` to be deleted
:param name: `name` of document to be deleted'

def delete(self, doctype, name):

    return self.post_request({'cmd': 'frappe.client.delete', 'doctype': doctype, 'name': name})
