Pre-General Availability: 2022-08-18. This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.
Cancel query execution
post
/20210831/projects/{projectId}/queryExecutions/{queryExecutionId}/actions/cancel
Request
Supported Media Types
- application/json
Path Parameters
-
projectId: string
Minimum Length:
1
Maximum Length:255
The OCID of Query Service project -
queryExecutionId: string
unique query execution id
Header Parameters
-
if-match(optional): string
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
opc-request-id: string
The client request ID for tracing.
-
opc-retry-token(optional): string
Minimum Length:
1
Maximum Length:64
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
Response
Supported Media Types
- application/json
202 Response
successful operation
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
412 Response
Precondition failed
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DefaultError
Type:
object
Error Information.
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:255
A short error code that defines the error, meant for programmatic parsing. -
message:
string
Minimum Length:
1
Maximum Length:1024
A human-readable error string.