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
-
id(required): string
Job Identifier, to get available Job Id use
/jobs
endpoint
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
remove a job that is in status finished.
Root Schema : jobDetails
Type:
Show Source
object
-
end_time: string
-
error: string
-
fileName: string
-
id: string
-
job_creation_time: string
-
progress: integer
-
start_time: string
-
status: string
Allowed Values:
[ "CREATED", "RUNNING", "FINISHED" ]
-
type: string
Allowed Values:
[ "IMPORT", "EXPORT" ]
Examples
401 Response
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" }