Skip to content

ndi.cloud.documents.delete_documents

  DELETE_DOCUMENTS - delete a document from the dataset

  [STATUS,RESPONSE] = ndi.cloud.documents.delete_documents(DATASET_ID, DOCUMENT_ID, AUTH_TOKEN)

  Inputs:
    DATASET_ID - a string representing the dataset id
    DOCUMENT_ID -  a string representing the document id
    AUTH_TOKEN - a string representing the authentification token

  Outputs:
    STATUS - did delete request work? 1 for no, 0 for yes
    RESPONSE - a message saying if the document was deleted or not