Update Single Document
InsightMaker.update(dataset, document_id, body)
Allows you to update a single document, given its id.
Parameters:
Name | Type | Description |
---|---|---|
dataset | String or Dataset | Dataset object or dataset name string |
document_id | String | Document ID |
body | Dictionary | Key value pairs of properties & their updated values (these can be any InsightMaker properties, including data attributes) |
Response:
True
Example: