Device Profiles
A Device Profile instance resource represents a single device profile entity.
Resource Attributes#
| Attribute | Description |
|---|---|
| id | A 23 to 26 characters long string that uniquely identifies this device profile. |
| accountId | The unique id of the account that created this device profile. |
| name | Account wide unique, URL friendly name of the device profile. |
| friendlyName | Human friendly name of the device profile. |
| baseProfileId | The id of the base device profile, if any. |
| description | Optional. Device profile description. |
| tags | Optional. Tags associated with this device profile. |
| deviceClass | Optional. The class of the devices that are generated from this profile. |
| productName | Optional. The product name, if any. |
| vendorName | Optional. The vendor of the device. |
| imageUrl | Optional. URL for the device image. |
| locked | Locked device profile cannot be deleted, modified, new sub resources (e.g. properties) cannot be added, or existing sub resources cannot be removed; but unless they are locked individually, sub resources can be modified. |
| dateCreated | The date that this device profile was created in ISO 8601 format. |
| dateModified | The date that this device profile entity was modified in ISO 8601 format. |
Create device profile#
POST https://api.csip.io/v3/deviceprofiles#
cURL#
Node#
Ruby#
JavaScript#
Python#
List device profiles#
GET https://api.csip.io/v3/deviceprofiles#
cURL#
Node#
Ruby#
JavaScript#
Python#
View device profile details#
GET https://api.csip.io/v3/deviceprofiles/ref#
cURL#
Node#
Ruby#
JavaScript#
Python#
Modify device profile#
PUT https://api.csip.io/v3/deviceprofiles/ref#
cURL#
Node#
Ruby#
JavaScript#
Python#
Delete device profile#
DELETE https://api.csip.io/v3/deviceprofiles/ref#
cURL#
Node#
Ruby#
JavaScript#
Python#
๐ง Rule#
You cannot delete a base device profile with child. You must delete the child first. You cannot delete a device profile with existing devices generated from it. You must delete the device first.