IoT Stadium

API Documentation

LoRaWAN Gateway

LoRaWAN Gateway - PUT Update LoRaWAN Gateway

Put

{{url_iot_backend}}/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

location_public Boolean

{
    "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
}