OneNET IoT Platform Platform Introduction Introduction Manual Guidline for Device Development Guideline for Application Development
API
API Usage API List SDK MQTT LwM2M EDP Modbus TCP
HTTP Push

# Delete Datastream Request Method: DELETE

URL: http://iot.zong.com.pk:8000/devices/device_id/datastreams/datastream_id

device_id: need to be replaced with device ID
datastream_id: need to be replaced with datastream ID

http Header

Parameter Name Format Required Description
api-key string yes must be masterkey or apikey with access authority of the device

Return Parameter

Parameter Name Format Description
errno int code for call error, 0 indicates call is successful
error string error description, "succ" indicates call is successful

Example of Request

DELETE http://iot.zong.com.pk:8000/devices/20474930/datastreams/temperature HTTP/1.1

Example of Return

```json
{
    "errno":0,
    "error":"succ"
}

results matching ""

    No results matching ""