跳至主要内容

Device Management

Overview

This chapter covers the CRUD operations for physical devices, paginated queries, and linkage management with specific organizations.

Basic Operations

Basic API URL: https://{domain}/{tenantPath}/{srp}

OperationAPIDescription
Create Device to OrgPOST {Basic API URL}/api/v1/orgs/{orgId}/devicesLink or create a physical device to an organization
List Org DevicesGET {Basic API URL}/api/v1/orgs/{orgId}/devicesGet paginated list of devices in a specific organization
Get Device SensorsGET {Basic API URL}/api/v1/devices/{deviceId}/telemetry-configsGet telemetry configurations of a specific device
Update Device SensorsPATCH {Basic API URL}/api/v1/devices/{deviceId}/telemetry-configsUpdate telemetry configurations of a specific device
Activate DevicePOST {Basic API URL}/api/v1/devices/{deviceId}:activeActivate a specific device
Deactivate DevicePOST {Basic API URL}/api/v1/devices/{deviceId}:deactivateDeactivate a specific device
Remove Device from OrgDELETE {Basic API URL}/api/v1/orgs/{orgId}/devices/{deviceId}Remove device from an organization

Constraints & Limitations

General

  • API access requires authentication with a valid token.
  • Organization must exist before linking devices.
  • Device must exist in the system before being linked to an organization.

Create

  • deviceId is a MAC address on the physical device.
  • hardware is the model of the device, e.g. "AIR-075".

Activate/Deactivate Device

  • status can only be changed to active or deactivate.

Advanced Features

Device Operations

OperationAPIDescription
Get DevicesGET https://{domain}/{tenantPath}/{srp}/api/v1/devicesGet three kinds of devices. Including devices, virtual devices, and sub devices.
Update DevicePATCH https://{domain}/{tenantPath}/{srp}/api/v1/devices/{deviceId}Update device configuration.
Delete DeviceDELETE https://{domain}/{tenantPath}/{srp}/api/v1/devices/{deviceId}Permanently delete device by given deviceId.

Device Custom Info

OperationAPIDescription
Get Device CapabilitiesGET {Basic API URL}/api/v1/devices/{deviceId}/capabilitiesGet hardware capabilities of a specific device
Add or update multiple custom info of a devicePUT {Basic API URL}/api/v1/devices/{deviceId}/custom-infoAdd or update multiple custom info entries for a specific device
Get custom info of a deviceGET {Basic API URL}/api/v1/devices/{deviceId}/custom-infoGet custom information of a specific device
Update a single custom infoPATCH {Basic API URL}/api/v1/devices/{deviceId}/custom-info/{key}Update a single custom info entry for a specific device
Delete a single custom infoDELETE {Basic API URL}/api/v1/devices/{deviceId}/custom-info/{key}Delete a single custom info entry for a specific device
Delete all custom info of a deviceDELETE {Basic API URL}/api/v1/devices/{deviceId}/custom-infoDelete all custom info entries for a specific device

Last updated on Apr-8, 2026 | Version 1.0.0