/gateways/{eui64}/factory-reset-soft
Sends a soft factory reset command to a gateway. A soft factory reset brings the device to its factory default state, forgets the WiFi credentials and only maintains the information required to reconnect to the EnergyAI backend. The end user will only require to reconnect the device to the WiFi network, and the service will be re-established.
put
Authorizations
x-api-keystringRequired
Path parameters
eui64stringRequiredExample:
The EUI64 of the device in hexadecimal format.
000d6f000011bcb3Responses
202
Accepted - The soft factory reset 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 soft factory reset command cannot be sent.
application/json
500
Internal server error
application/json
put/gateways/{eui64}/factory-reset-soft
PUT /v2/gateways/{eui64}/factory-reset-soft HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "Successfully sent the factory soft reset command to thing '000d6f000011bcb3'"
}Last updated
Was this helpful?

