Browse developer docs
Cancel a pending device command
POSTfarm-device-manage-cancel-action
Request
Send POST to /open/service with serviceName=farm-device-manage-cancel-action and the common signing parameters.
Send extra fields in the JSON body
Use the operation ID from the log. Recheck device state after cancellation.
This operation submits a change. Replace the illustrative values, confirm access, and review the intended action before sending a signed request.
Illustrative payload
{
"org_id": "YOUR_FARM_ID",
"fs_sn": "YOUR_FARM_SERVER_SN",
"device_id": "YOUR_DEVICE_ID",
"oper_id": "YOUR_OPERATION_ID"
}| Parameter | Requirement | Meaning |
|---|---|---|
org_id | Required | Authorized farm or organization ID. |
fs_sn | Required | Farm server serial from farm-server-list. |
device_id | Required | Device ID from the inventory. |
oper_id | Required | Operation ID of the command you want to cancel. |
Response
Verify command cancellation in the operation log and confirm physical device state when relevant.
Show example response fields and types
{
"status": "number",
"success": "boolean",
"data": "null",
"message": "string"
}