Force cancel an operation

post

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

Complete an asynchronous request with a CANCEL status. The request will be transitioned to CANCELLED state if the prerequisites are met. 1. The caller must make sure the remote job is no longer executing. 2. The request must be waiting for an asynchronous response and be in CANCELLING state 3. It must be at least 30 minutes since the request was put in CANCELLING state or the last time the job checked in for this request.

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 force 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