IoT Stadium

API Documentation

Device Location

Device Location - DEL Delete Location

Deleting location

Delete
{{url_iot_backend}}/ext/locations/:id

Parameter

Field Type Description
id Number

The ID of the location that you want to delete

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