Delete Jobs
Delete Jobs
Delete a set of existing jobs.
HTTP Request
DELETE /jobs
Required Parameters
Name | Type | Description |
---|---|---|
ids | array | An array of the job numbers to be deleted. Example: ["12345", "56789"] |
Delete Jobs Example
- curl
- JavaScript
- Response
$ curl -u OAPI_KEY:OAPI_SECRET -X DELETE https://api-demo.hybrik.com/v1/jobs \
-d '{
"ids": [
"12345",
"56789",
"34567"
]
}' \
-H "Content-Type: application/json" \
-H "X-Hybrik-Sapiauth: api_auth_token" \
-H "X-Hybrik-Compliance: 20220423"
//Delete Jobs 12345, 56789, and 34567
hybrik_api.call_api('DELETE', '/jobs', null, {
ids: [12345, 56789, 34567]
})
{
"items": [
"12345",
"56789",
"34567"
]
}