Cancel Data Extract Task

post

/rest/v16/extract/cancel/{taskId}

Use this endpoint to cancel the data extract task if not complete.

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Returns data extract task status
Body ()
Root Schema : extractData_TaskStatusResponse
Type: object
Show Source
Back to Top

Examples

The following example shows how to cancel the data extract task if not complete by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/extract/cancel/{taskId}

Response Body

{
  "taskId": 3023103675,
  "taskStatus": "Cancellation Requested",
  "startTime": "2023-03-23 15:00:37.0"
}
Back to Top