Menu
Cancel an ongoing reindex task
Cancel an ongoing reindex task
POST
/_reindex/{task_id}/_cancelUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Cancel an ongoing reindex task action (under reindex).
- Fill in the fields below, then reference the result from later steps as
{{cancelAnOngoingReindexTask.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{cancelAnOngoingReindexTask.response.data.<field>}}.
{
"acknowledged": false,
"completed": false,
"id": null,
"description": "string",
"start_time_in_millis": null,
"start_time": "string",
"running_time": null,
"running_time_in_nanos": null,
"cancelled": false,
"status": null,
"error": null,
"response": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?