Delete Device

Delete Device

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

Query Parameters

NameTypeDescription

deviceId*

1

Device identifier. Should be a valid integer.

Headers

NameTypeDescription

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?deviceId=1
$ curl -X DELETE -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device?deviceId=1

Last updated