trigger.stop

The trigger.stop command is used to stop a trigger.

TR50 Request


                        // stop a single trigger
{
  "1": {
    "command": "trigger.stop",
    "params": {
      "id": "53728d6b31004662fe000052"
    }
  }
}
 
// stop multiple triggers
{
  "1": {
    "command": "trigger.stop",
    "params": {
      "id": [
        "53728d6b31004662fe000052",
        "510046e062f08d03720526b3"
      ]
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

id

String

Yes

The unique identifier of the trigger to stop.

id

Array

Yes

An array of unique trigger identifiers to stop.

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
  }
}