Automation - DEL Delete Automation
Delete a specific automation rule from the system.
Deletehttps://api.iotstadium.com/ext/automations/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
https://api.iotstadium.com/ext/automations/983
{
"message": "automation deleted",
"data": {
"id": "983"
},
"code": 200
}
{
"message": "data not found",
"errors": [
{
"message": "data not found",
"field": "automation"
}
],
"code": 404
}
{
"message": "Not Allowed",
"error": {
"message": "Not Allowed",
"field": "user"
},
"code": 403
}