{
  "rollup.stop_job": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-stop-job",
      "description": "Stop rollup jobs"
    },
    "stability": "experimental",
    "visibility": "public",
    "deprecated": {
      "version": "8.11.0",
      "description": "Rollup APIs are deprecated, use downsampling with time series data stream instead"
    },
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_rollup/job/{id}/_stop",
          "methods": [
            "POST"
          ],
          "parts": {
            "id": {
              "type": "string",
              "description": "The ID of the job to stop"
            }
          }
        }
      ]
    },
    "params": {
      "wait_for_completion": {
        "type": "boolean",
        "default": false,
        "description": "True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false."
      },
      "timeout": {
        "type": "time",
        "default": "30s",
        "description": "Block for (at maximum) the specified duration while waiting for the job to stop.  Defaults to 30s."
      }
    }
  }
}
