Update Device Profile
PUT/lns/tenants/:tenantId/device-profiles/:deviceProfileId
Update device profile
Request
Path Parameters
The ID of tenant.
The ID of device profile.
- application/json
Body
required
The name of device profile.
The description of device profile.
The region of device profile.
The mac version of device profile.
The region config ID of device profile.
The reg params revision of device profile.
The ADR algorithm ID of device profile.
The flush queue on activate of device profile.
The uplink interval of device profile.
The device status request interval of device profile.
The supports OTAA of device profile.
The ABP Rx1 delay of device profile.
The ABP Rx1 DR offset of device profile.
The ABP Rx2 DR of device profile.
The ABP Rx2 frequency of device profile.
The supports Class B of device profile.
The Class B timeout of device profile.
The Class B ping slot number of device profile.
The Class B ping slot DR of device profile.
The Class B ping slot frequency of device profile.
The supports Class C of device profile.
The Class C timeout of device profile.
The is relay of device profile.
The relay enabled of device profile.
The relay default channel index of device profile.
The relay second channel frequency of device profile.
The relay second channel DR of device profile.
The relay second channel ack offset of device profile.
The relay cad periodicity of device profile.
The relay join request limit bucket size of device profile.
The relay join request limit reload rate of device profile.
The relay notify limit bucket size of device profile.
The relay notify limit reload rate of device profile.
The relay overall limit bucket size of device profile.
The relay overall limit reload rate of device profile.
The relay overall limit bucket size of device profile.
The relay overall limit reload rate of device profile.
The is relay ED of device profile.
The relay ED relay only of device profile.
The relay ED activation mode of device profile.
The relay ED smart enable level of device profile.
The relay ED back off of device profile.
The relay ED uplink limit bucket size of device profile.
The relay ED uplink limit reload rate of device profile.
Responses
- 200
- 401
- 403
- 404
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- Array [
- ]
- ]
data object[]required
Data of the device profile.
tagsMap object[]required
{
"data": [
{
"tenantId": "string",
"id": "string",
"name": "string",
"description": "string",
"region": 0,
"regionConfigId": "string",
"macVersion": 0,
"regParamsRevision": 0,
"adrAlgorithmId": "string",
"flushQueueOnActivate": true,
"uplinkInterval": true,
"deviceStatusReqInterval": 0,
"supportsOtaa": true,
"abpRx1Delay": 0,
"abpRx1DrOffset": 0,
"abpRx2Dr": 0,
"abpRx2Freq": 0,
"supportsClassB": true,
"classBTimeout": 0,
"classBPingSlotNbK": 0,
"classBPingSlotDr": 0,
"classBPingSlotFreq": 0,
"supportsClassC": true,
"classCTimeout": 0,
"isRelay": true,
"relayEnabled": true,
"relayDefaultChannelIndex": 0,
"relaySecondChannelFreq": 0,
"relaySecondChannelDr": 0,
"relaySecondChannelAckOffset": 0,
"relayCadPeriodicity": 0,
"relayJoinReqLimitBucketSize": 0,
"relayJoinReqLimitReloadRate": 0,
"relayNotifyLimitBucketSize": 0,
"relayNotifyLimitReloadRate": 0,
"relayGlobalUplinkLimitBucketSize": 0,
"relayGlobalUplinkLimitReloadRate": 0,
"relayOverallLimitBucketSize": 0,
"relayOverallLimitReloadRate": 0,
"isRelayEd": true,
"relayEdRelayOnly": true,
"relayEdActivationMode": 0,
"relayEdSmartEnableLevel": 0,
"relayEdBackOff": 0,
"relayEdUplinkLimitBucketSize": 0,
"relayEdUplinkLimitReloadRate": 0,
"tagsMap": [
{}
]
}
]
}
{
"data": {
"tenantId": "b004ebe0-xxxx-xxxx-xxxx-dacd251b6f00",
"id": "ff7684e4-xxxx-xxxx-xxxx-6f42763591d1",
"name": "AS923-ClassC",
"description": "",
"region": 7,
"macVersion": 3,
"regionConfigId": "as923",
"regParamsRevision": 0,
"adrAlgorithmId": "default",
"flushQueueOnActivate": true,
"uplinkInterval": 3600,
"deviceStatusReqInterval": 30,
"supportsOtaa": true,
"abpRx1Delay": 0,
"abpRx1DrOffset": 0,
"abpRx2Dr": 0,
"abpRx2Freq": 0,
"supportsClassB": false,
"classBTimeout": 0,
"classBPingSlotNbK": 0,
"classBPingSlotDr": 0,
"classBPingSlotFreq": 0,
"supportsClassC": true,
"classCTimeout": 0,
"isRelay": false,
"relayEnabled": false,
"relayDefaultChannelIndex": 0,
"relaySecondChannelFreq": 0,
"relaySecondChannelDr": 0,
"relaySecondChannelAckOffset": 0,
"relayCadPeriodicity": 0,
"relayJoinReqLimitBucketSize": 0,
"relayJoinReqLimitReloadRate": 0,
"relayNotifyLimitBucketSize": 0,
"relayNotifyLimitReloadRate": 0,
"relayGlobalUplinkLimitBucketSize": 0,
"relayGlobalUplinkLimitReloadRate": 0,
"relayOverallLimitBucketSize": 0,
"relayOverallLimitReloadRate": 0,
"isRelayEd": false,
"relayEdRelayOnly": false,
"relayEdActivationMode": 0,
"relayEdSmartEnableLevel": 0,
"relayEdBackOff": 0,
"relayEdUplinkLimitBucketSize": 0,
"relayEdUplinkLimitReloadRate": 0,
"tagsMap": [
{
"key": "Rooftop",
"value": "Weather monitoring"
}
]
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The request has not permission.
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The request has not permission.
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The resource hasn't found.
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The input data has invalid.
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}