Menu
Delete a document
Delete a document
DELETE
/{index}/_doc/{id}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Delete a document action (under document).
- Fill in the fields below, then reference the result from later steps as
{{deleteADocument.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{deleteADocument.response.data.<field>}}.
{
"_id": null,
"_index": null,
"result": null,
"_shards": null,
"_version": null,
"_primary_term": 0,
"_seq_no": null,
"failure_store": null,
"forced_refresh": false
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?