Delete an Import/Export Job

delete

{server}/georaster/v1/{datasource}/jobs/{id}

Delete the Import/Export job with the specified job ID. The job to be delete should be in state COMPLITED

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

remove a job that is in status finished.
Body ()
Root Schema : jobDetails
Type: object
Show Source
Examples

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to delete a job by submitting a DELETE request using cURL.

curl -X DELETE "https://localhost:8080/oraclespatial/georaster/v1/datasource1/jobs/430682" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following shows an example of the response for the delete request. The deleted job's status is returned.

 {
   "id" : 430682,
   "status" : "FINISHED",
   "type" : "EXPORT",
   "fileName" : "out.jpg",
   "progress" : 100,
   "task_creation_time" : "2023-02-07 18:20:47+0000",
   "start_time" : "2023-02-07 18:20:47+0000",
   "end_time" : "2023-02-07 18:20:48+0000"
}
Back to Top