Format SD card

Format the device SD card. The device must be connected to the cloud service. If you have auxiliary cameras paired to your device, those SD cards are also formatted.

Request
Security:
path Parameters
imei
required
string (IMEI)

The IMEI of the device. The IMEI number can be found on a sticker on the device itself or on the back of the device box.

Example: 357660101000198
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

417

Expectation failed error

500

Internal server error

get/devices/{imei}/format-storage
Request samples
curl -i -X GET \
  https://api-prod.surfsight.net/v2/devices/:imei/format-storage \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}