Erase All Data

Erase All Device Data

DELETE https://{server_address}/api/v1/organization/device/clear

Query Parameters

Name
Type
Description

deviceId*

1

Device identifier. Should be a valid integer.

Headers

Name
Type
Description

Authorization*

Bearer {access_token}

{
    "error": {
        "message": "Device with identifier 1 is not found or belong to another organization."
    }
}

Request examples:

# curl command example:
$ curl -X DELETE -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/clear?deviceId=1
$ curl -X DELETE -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/clear?deviceId=1

Last updated