IoT Stadium

API Documentation

Controller

Controller - DEL Delete Controller

Delete

{{url_iot_backend}}/ext/devices/:deviceId/actuator/:id
    {
      "key": "Content-Type",
      "value": "application/json"
    },
    {
      "key": "Authorization",
      "value": "Bearer {{token}}"
    }

Parameter

Field Type Description
deviceID Integer

The device ID of selected controller

id Integer

The controller ID that you want to update

{
    "message": "device_actuator deleted",
    "data": {
        "id": "144"
    },
    "code": 200
}
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "device_actuator"
        }
    ],
    "code": 404
}                                                
{
    "message": "Not Allowed",
    "error": {
        "message": "Not Allowed",
        "field": "user"
    },
    "code": 403
}