Delete Job
Delete Job
Delete an existing job. The job being deleted can be in any state: queued, active, completed, or failed.
HTTP Request
DELETE /jobs/job_id
Delete Job Example
- curl
- JavaScript
- Response
$ curl -u OAPI_KEY:OAPI_SECRET -X DELETE https://api-demo.hybrik.com/v1/jobs/$JOB_ID \
-H "Content-Type: application/json" \
-H "X-Hybrik-Sapiauth: api_auth_token" \
-H "X-Hybrik-Compliance: YYYYMMDD"
//Stop Job #12345
hybrik_api.call_api('DELETE', '/jobs/12345')
{
"id": "12345"
}