For the complete documentation index, see llms.txt. This page is also available as Markdown.

/wlan/join

Attempts to join a wireless network using the supplied SSID and KEY parameters. Note that the HTTP 200 OK response indicates that the API call was successful and that the join will be attempted. It does not guarantee that the attempt to join the network will be successful. If the join fails, the NET2GRID smart bridge will return to access point mode and the API call can be attempted again.

post
Authorizations
AuthorizationstringRequired

Format has to be N2G-LAN-USER token="${USER_API_TOKEN}".

Body
ssidstringOptional
keystringOptional
Responses
200

OK

No content

post/wlan/join
POST /wlan/join HTTP/1.1
Host: {IP}
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "ssid": "text",
  "key": "text"
}

No content

Last updated

Was this helpful?