Menu
Delete
Delete
DELETE
/{index}/_doc/{id}Use it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Delete action (under core).
- Fill in the fields below, then reference the result from later steps as
{{delete.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{delete.response.data.<field>}}.
{
"_id": "string",
"_index": "string",
"_primary_term": 0,
"result": null,
"_seq_no": 0,
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"shard": 0,
"reason": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"index": "string",
"node": "string"
}
],
"skipped": 0
},
"_version": 0,
"_type": "string",
"forced_refresh": false
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?