Page tree

Removes a job. Allows selecting either keep or delete backups.

Endpoint

https://<Director_IP_address>:4443/c/router

Tenant Endpoint

For tenants of the multi-tenant product the endpoint must be:
https://<Director_IP_address>:4443/t/<tenant_UUID>/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)
actionstring

JobManagement

methodstring

remove

dataarrayParameters
typestringrpc
tidinteger1

Data

Field
Type
Description
idintJob ID to remove
keepPhysicalItems booleantrue to keep any items the job references (e.g. VMs, backups, etc.)

Response Sample

 {
    "action": "JobManagement",
    "method": "remove",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": {
        "result": "OK"
    }
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure
dataJsonResult of the request


  • No labels