trigger.template.delete
The trigger.template.delete command is used to delete one or more cloud trigger template.
TR50 Request
// delete one cloud trigger template
{
"1": {
"command": "trigger.template.delete",
"params": {
"id": "500000000000000000000001"
}
}
}
// delete multiple cloud trigger templates
{
"1": {
"command": "trigger.template.delete",
"params": {
"id": [
"500000000000000000000002",
"500000000000000000000003",
"500000000000000000000004",
"500000000000000000000005"
]
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
id |
String |
Yes |
The ID of the cloud trigger template to delete. |
Name |
Type |
Required |
Description |
---|---|---|---|
id |
Array |
Yes |
An array of cloud trigger template IDs to delete. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"1": {
"success": true
}
}