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


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

Truncate 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. 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[&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 truncates all jobs in progress.
DELETE http://blackpearl-hostname/_rest_/active_job/ HTTP/1.1
Sample Response
HTTP/1.1 204 No Content