Removes a job. Allows selecting either keep or delete backups.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
curl --request POST \ --url https://<Director_IP_address>:4443/c/router \ --header "content-type: application/json" \ --cookie @cookies.txt \ --data "{ "action": "JobManagement", "method": "remove", "data": [50,true], "type": "rpc", "tid": 1}"
Request Fields
Field | Type | Value(s) |
---|---|---|
action | string |
|
method | string |
|
data | array | Parameters |
type | string | rpc |
tid | integer | 1 |
Data
Field | Type | Description |
---|---|---|
id | int | Job ID to remove |
keepPhysicalItems | boolean | true to keep any items the job references (e.g. VMs, backups, etc.) |
Response Sample
Response Fields
Field | Value | Description |
---|---|---|
message | string | Message if the request failed |
where | string | Reference to the method where the problem occurred |
cause | string | Cause of failure |
data | Json | Result of the request |