delete_document
Remove a specific document from an Elasticsearch index by providing the index name and document ID for precise data management.
Instructions
Delete a document from a specific Elasticsearch index
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID to delete | |
| index | Yes | Name of the Elasticsearch index |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Document ID to delete",
"minLength": 1,
"type": "string"
},
"index": {
"description": "Name of the Elasticsearch index",
"minLength": 1,
"type": "string"
}
},
"required": [
"index",
"id"
],
"type": "object"
}