campaign.cancel
The campaign.cancel command is used to stop a campaign. The campaign completes the task that is in progress on the device and cancels any further tasks.
TR50 Request
{
"cmd": {
"command": "campaign.cancel",
"params": {
"id": "537a3fa6d15a702de0000007"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
id |
String |
Yes |
The unique identifier of the campaign to cancel. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}