Skip to content

ndi.cloud.datasets.post_bulk_delete

 POST_BULK_DELETE - Delete a set of documents from the dataset

  [STATUS, DATASET] = ndi.cloud.datasets.post_bulk_delete(DATASET_ID, DOCUMENT_IDS, AUTH_TOKEN)

  Inputs:
    DATASET_ID - an id of the dataset
    DOCUMENT_IDS - a cell array of document ids to delete
    AUTH_TOKEN - a string representing the authentification token

  Outputs:
    STATUS - did the post request work? 1 for no, 0 for yes
    DATASET - the updated dataset