Device Location - Update Location
Updating the location's details
Puthttps://api.iotstadium.com/auth/ext/locations/:id
Parameter
Field | Type | Description |
---|---|---|
id | Number |
The ID of the location that you want to update |
{
"message": "location updated",
"data": {
"id": 173
},
"code": 200
}
{
"message": "data not found",
"errors": [
{
"message": "data not found",
"field": "location"
}
],
"code": 404
}
{
"message": "Invalid Message",
"code": 400,
"errors": [
{
"field": "location_name",
"message": "The location name field is required.."
}
]
}