Last updated 1 year ago
GET https://{server_address}/api/v1/organization/device/last-activated
GET
https://{server_address}/api/v1/organization/device/last-activated
Fetch devices activated within the last N minutes, excluding devices from sub-organizations.
Request examples:
orgId
1
Identifier organization, that hold devices.
minutes
5
5 minutes is used by default. Should be a valid integer from 1 to 60.
Authorization*
Bearer {access_token}
{ "id": 1, "templateId": 353, "orgId": 578, "ownerUserId": 879, "activationTime": 1702480430139 }
# curl command example: $ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/last-activated $ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/last-activated