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
- requestId(required): integer(int64) the job request ID
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/vnd.oracle.resource+json
200 Response
Operation initiated
Nested Schema : link
Type:
Show Source object
- href: string (uri) href of the provided link
- rel: string relationship with the returned resourceExample:
self
400 Response
Unsupported state for operation
Root Schema : SimpleExceptionDetail
Type:
Show Source object
- detail: string Detailed error message
- errorCode: string ESS-specific error code. For example ESS-00500.
- status: integer HTTP status code
- title(required): string Summary error message
- type(required): string URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
403 Response
Not authorized to cancel this request
Root Schema : SimpleExceptionDetail
Type:
Show Source object
- detail: string Detailed error message
- errorCode: string ESS-specific error code. For example ESS-00500.
- status: integer HTTP status code
- title(required): string Summary error message
- type(required): string URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
404 Response
Request ID not found
Root Schema : SimpleExceptionDetail
Type:
Show Source object
- detail: string Detailed error message
- errorCode: string ESS-specific error code. For example ESS-00500.
- status: integer HTTP status code
- title(required): string Summary error message
- type(required): string URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
409 Response
Conflict
Root Schema : SimpleExceptionDetail
Type:
Show Source object
- detail: string Detailed error message
- errorCode: string ESS-specific error code. For example ESS-00500.
- status: integer HTTP status code
- title(required): string Summary error message
- type(required): string URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
500 Response
Scheduling sub-system error
Root Schema : SimpleExceptionDetail
Type:
Show Source object
- detail: string Detailed error message
- errorCode: string ESS-specific error code. For example ESS-00500.
- status: integer HTTP status code
- title(required): string Summary error message
- type(required): string URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.