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


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

Cancel Jobs
Description
Cancel all jobs that are in progress. Any objects in the jobs that have been 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 have been partially written to physical data stores (regardless of whether or not they have been 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 gateway does not expect any more objects from the jobs. Use parameters to cancel a subset of the jobs.
Requests
Syntax
DELETE http[s]://{datapathDNSname}/_rest_/job/[?force] [&bucket_id={string}][&request_type=PUT|GET|VERIFY]
Request Parameters 
If included, any objects in the jobs that have been partially written to physical data stores are deleted and any space the object pieces consumed on physical data stores are marked as eligible for reclamation. Additionally, objects received in cache are also deleted.
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