Spectra Logic
1-800-833-1132 : 1-303-449-6400


Spectra S3 Bucket, Object, and Job Operations : Job Operations : Cancel Active Jobs

Cancel Active Jobs
Description
Cancel all jobs that are in progress. Any objects in the jobs that were written in their entirety to physical data stores are retained. Any objects in the jobs that were received in their entirety in cache are retained unless the force flag is used. Additionally, if the force flag is used, any objects in the jobs that were partially written to physical data stores (regardless of whether or not they are completely written to cache) are deleted and any space the object pieces consumed on physical data stores are marked as eligible for reclamation. The BlackPearl system does not expect any more objects from the jobs. Use parameters to cancel a subset of the jobs.
Note:
Requests
Syntax
DELETE http[s]://{datapathDNSname}/_rest_/active_job[?force][&bucket_id={string}][&request_type=PUT|GET|VERIFY]
Request Parameters 
a.
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This request cancels all jobs in progress.
DELETE http://blackpearl-hostname/_rest_/job/ HTTP/1.1
Sample Response
HTTP/1.1 204 No Content