Stop rollup jobs Technical preview
If you try to stop a job that does not exist, an exception occurs. If you try to stop a job that is already stopped, nothing happens.
Path parameters
-
Identifier for the rollup job.
Query parameters
-
timeout string
If
wait_for_completion
istrue
, the API blocks for (at maximum) the specified duration while waiting for the job to stop. If more thantimeout
time has passed, the API throws a timeout exception. -
wait_for_completion boolean
If set to
true
, causes the API to block until the indexer state completely stops. If set tofalse
, the API returns immediately and the indexer is stopped asynchronously in the background.
POST
/_rollup/job/{id}/_stop
curl \
-X POST http://api.example.com/_rollup/job/{id}/_stop
Response examples (200)
{
"stopped": true
}