Cancel an ongoing request

post

ess/rest/scheduler/v1/requests/{requestId}/cancel

Cancels the processing of a request that is not in a terminal state. For a singleton and child request in WAIT, READY, BLOCKED or HOLD state, this operation will cause change the status to CANCELLED state. For a singleton and child request in RUNNING or COMPLETED state, cancellation is best effort and the state will go to a transitory CANCELLING state which will persist until the request is cancelled and transitions to CANCELLED or some other terminal state. For parent requests, this operation cascades to all its children.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Operation initiated
Body ()

400 Response

Unsupported state for operation
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

403 Response

Not authorized to cancel this request
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

404 Response

Request ID not found
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

409 Response

Conflict
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source

500 Response

Scheduling sub-system error
Body ()
Root Schema : SimpleExceptionDetail
Type: object
Show Source
Back to Top