Skip to content

ndi.cloud.api.documents.delete_document

  DELETE_DOCUMENT - delete a document from the dataset

  RESPONSE = ndi.cloud.api.documents.DELETE_DOCUMENT(DATASET_ID, DOCUMENT_ID)

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

  Outputs:
    RESPONSE - a message saying if the document was deleted or not