xpack.rollup.stopJob

edit
client.xpack.rollup.stopJob({
  id: string,
  wait_for_completion: boolean,
  timeout: string
})

id

string - The ID of the job to stop

wait_for_completion or waitForCompletion

boolean - True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.

timeout

string - Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.