Payload for delete request. Documents can be deleted either one by one by specifying the document id or by providing a query object. For more information see [Delete API](https://manual.manticoresearch.com/Deleting_documents)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/deleteDocumentRequest.json",
"title": "deleteDocumentRequest",
"description": "Payload for delete request.\nDocuments can be deleted either one by one by specifying the document id or by providing a query object.\nFor more information see [Delete API](https://manual.manticoresearch.com/Deleting_documents)\n",
"type": "object",
"required": [
"table"
],
"properties": {
"table": {
"type": "string",
"description": "Table name"
},
"cluster": {
"type": "string",
"description": "Cluster name"
},
"id": {
"type": "integer",
"format": "uint64",
"description": "The ID of document for deletion"
},
"query": {
"type": "object",
"description": "Defines the criteria to match documents for deletion"
}
},
"example": {
"table": "test",
"id": 1
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.