LoRaWAN Gateway - PUT Update LoRaWAN Gateway
Updates a specific 6gateway's configuration (e.g., frequency plan, TTN version, or device network). Useful if you're changing network settings or correcting input errors.
Puthttps://api.iotstadium.com/ext/ttn-gateway/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
Parameter
Field | Type | Description |
---|---|---|
gateway_name | String |
Name of the LoRaWAN Gateway (required) |
ttn_gateway_type_id | Integer |
The gateway type identifier (required) |
gateway_eui | String |
The unique identifier for the LoRaWAN gateway |
frequency_plan | String |
Your selected frequency plan |
is_required_authenticated_connection | String |
Yes (1) or no (0) |
status_public | Boolean |
The public access status: true or false |
location_public | Boolean |
The availability to be accessed for specific location: true or false |
{
"gateway_name": "LoRAWAn Gateway LT1", // requierd
"ttn_gateway_type_id": 0, // required
"gateway_eui": "1243254777454542", // max 16char in frontend
"frequency_plan": "AS_920_923", // frequency plan LIST | required
"is_required_authenticated_connection": "1", // this only 0 and 1
"status_public": true, // required
"location_public": true // required
}
{
"success": true,
"data": {
"id": 101,
"updated_fields": [
"gateway_name",
"frequency_plan"
],
"gateway_eui": "1243254777454542",
"status": "active",
"updated_at": "2023-05-20T15:45:00Z"
}
}
{
"message": "Not Allowed",
"error": {
"message": "Not Allowed",
"field": "user"
},
"code": 403
}