V2.5 Delete Command Jobs¶
Delete tasks to send commands to a batch of devices.
Request Format¶
POST https://{apigw-address}/connect-service/v2.5/commands?action=deleteJob
Request Parameters (URI)¶
Name  | 
Location (Path/Query)  | 
Mandatory/Optional  | 
Data Type  | 
Description  | 
|---|---|---|---|---|
orgId  | 
Query  | 
Mandatory  | 
String  | 
The organization ID which the asset belongs to. How to get orgId>>  | 
jobId  | 
Query  | 
Mandatory  | 
String  | 
Command Job ID.  | 
Response Parameters¶
Name  | 
Data Type  | 
Description  | 
|---|---|---|
code  | 
number  | 
Failed or succeeded to create an alert. 0: succeeded, -1: failed.  | 
msg  | 
String  | 
Returns   | 
requestId  | 
String  | 
A unique ID to identify a request.  | 
Samples¶
Request Sample¶
url: https://{apigw-address}/connect-service/v2.5/commands?action=deleteJob&jobId=jobId&orgId=yourOrgId
method: POST
Return Sample¶
{
    "code": 0,
    "msg": "OK",
    "requestId": "868ceaba-5c80-4d79-bcc8-1f00b7370cb6",
    "data": null
}