Stop Job Execution

post

/taas/job/stop/{executionID}

Stops executing the job with the given ID in TES Engine.

Request

Path Parameters
Back to Top

Response

200 Response

The job execution was stopped successfully.

404 Response

The execution ID was not found.
Back to Top

Examples

The following example shows how to stop a job execution by submitting a POST request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X POST "hostname:port/taas/job/stop/29" -H "accept: */*" -H "Content-Type: application/json"

Example of Response Body

If successful, the response code 200 is returned along with a header. For example:

{
"Job-Execution-Status":"TIMED_WAITING"
}

If the request fails, the response includes the appropriate HTTP code. For a 4xx/5xx code, the message body also contains a ProblemDetails structure with the cause attribute set to the appropriate application error.

Back to Top