Superfy Platform API Documentation


Deallocate / Detach Sensor to Asset API

Require Authentication

This API is used to deallocate / detach sensor from asset for the company based on combination of deviceID and token. Mass deallocation is possible by passing one parameter.


URL

api/sensors/deallocate

Required parameter (POST)

Optional parameter

Example JSON Payload

{
  "deviceID": "ABCD-EFGH-IJKL-MNOP",
  "token": "c43fa596e7916827106b591e2bb026cd",
  "sensorsID": 1,
  "projectpinID": 9
}

Possible return HTTP status code

Return message

{
  "status": "success",
  "message": [
    "Sensor has been deallocated for sensor 1 and projectpinID 9"
  ]
}