Stop Scheduler

Description

Stops the Elasticsearch Scheduler for an existing job.

Definition

http://localhost:8080/engine/v2/schedulers/<jobId>/stop
jobId:The identifier of the job to be started. This must be configured as a scheduled job.

Method

POST

Returns

Status code 200 (Ok).

Errors

See the Error Codes documentation for the full list of errors that may be returned by the API.

EXAMPLE RESPONSE

For example, using the cURL command line client, the command to stop a job Scheduler is:

curl -X POST http://localhost:8080/engine/v2/schedulers/<jobId>/stop

If successful the API acknowledges the action:

{
  "acknowledged":true
}