Automation - DEL Delete Automation
Deleting automations
Delete{{url_iot_backend}}/ext/automations/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
Parameter
Field | Type | Description |
---|---|---|
id | Number |
The ID of the automation that you want to delete |
{
"key": "id",
"value": "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
}