# Delete Datastream Request Method: DELETE
URL: http://api.heclouds.com/devices/device_id/datastreams/datastream_id
device_id: need to be replaced with device ID
datastream_id: need to be replaced with datastream ID
Parameter Name | Format | Required | Description |
---|---|---|---|
api-key | string | yes | must be masterkey or apikey with access rights of the device |
api-key | string | yes | must be masterkey or apikey with access authority of the device |
Parameter Name | Format | Description |
---|---|---|
errno | int | code for call error , 0 indicates call is successful |
error | string | error description, "succ" indicates call is successful |
DELETE http://api.heclouds.com/devices/20474930/datastreams/temperature HTTP/1.1
{
"errno":0,
"error":"succ"
}