Reset the device to factory settings. The device must be online or in standby mode. If the device is offline, it resets when it comes back online.
The following revert back to default:
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X POST \ https://api-prod.surfsight.net/v2/devices/:imei/factory-reset \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "requestId": "df5fg-45fgfdsg-45fg-45454"
}