Skip to main content
Version: 5.7.0

CancelUserScriptBatch

Cancels a running user script batch.

ServiceOperation
scriptCANCEL_USER_SCRIPT_BATCH

Method Parameters

ParameterDescription
jobIdThe id of the job to cancel.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"status": 200,
"data": {
"result": {},
"jobType": "CloudCode",
"scriptName": "testScript",
"jobId": "3d3d4a7d-ad72-4bf1-9219-184f465e5c33",
"gameId": "20001",
"updatedAt": 1466579169118,
"runState": "Cancelled",
"description": null,
"createdAt": 1466579169118,
"runEndTime": 0,
"localTime": null,
"parameters": {
"testParm1": 1
},
"scheduledStartTime": 1466582769118,
"runStartTime": 0
}
}