Stop Job
Stops the job.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "JobManagement",
"method": "stop",
"data": [{"jobIds":[1]}],
"type": "rpc",
"tid": 1}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
|
string |
|
|
string |
|
|
array of int | Job IDs |
|
string | rpc
|
|
string |
|
|
array of string |
For |
|
integer | 1
|
Response Sample
{
"action": "JobManagement",
"method": "stop",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where a problem occurred |
cause
|
string | Cause of failure |