Delete event notification recipient

Remove a notification recipient for a specific event triggered from a device.

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
email
required
string <email> (Email)

The email of a registered user

Example: email@email.com
query Parameters
eventType
string (Event type)

Event type in query

Enum: "acceleration" "accOff" "accOn" "activated" "button" "collision" "coreConnection" "coverOpened" "deceleration" "distractedDriving" "geoFence" "jolt" "shakingEnded" "shakingStarted" "sharpTurnLeft" "sharpTurnRight" "speedLimit" "powerDisconnectAlarm" "smoking" "foodDrink" "cellPhoneUse" "driverUnbelted" "smokingBeep" "foodDrinkBeep" "cellPhoneUseBeep" "driverUnbeltedBeep" "distractedDriverBeep" "virtualEvent" "wrongPinCode" "gsensorHigh" "gsensorRegular" "accident" "tailgating" "obstruction" "laneWeaving" "possibleFatigue" "qrCode" "standbyEnter" "standbyExit"
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

delete/devices/{imei}/notification-recipients/{email}
Request samples
curl -i -X DELETE \
  'https://api-prod.surfsight.net/v2/devices/:imei/notification-recipients/:email?eventType=acceleration' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}