/gateways/{eui64}/wlan/leave
Makes a gateway forget its Wi-Fi credentials and close the Wi-Fi connection.
put
Authorizations
x-api-keystringRequired
Path parameters
eui64stringRequiredExample:
The EUI64 of the device in hexadecimal format.
000d6f000011bcb3Responses
202
Accepted - The wlan-leave command was sent to the device
application/json
messagestringRequired
The success message returned.
400
Invalid request:
- Missing required 'path' parameter: 'eui64'.
- The provided EUI64 '{eui64}' is not a valid hexadecimal string.
application/json
404
Not found:
- 400: The device '{eui64}' is not available in the IoT Thing registry.
application/json
409
The device '{eui64}' is currently offline and the WLAN leave command cannot be sent.
application/json
500
Internal server error
application/json
put/gateways/{eui64}/wlan/leave
PUT /v2/gateways/{eui64}/wlan/leave HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "Successfully sent the command to forget Wi-Fi credentials and close the connection for thing '000d6f000011bcb3'"
}Last updated
Was this helpful?

