Device Registration data models
updateDeviceClaimableState — request
Request body for Update device claimable state.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
claimable | boolean | Yes | Set device to be claimable if it is true. | |
deviceId | integer | Yes | ID of device to be modified. | |
duration | integer | No | Duration of the claimable state in seconds. |
updateDeviceClaimableState — 200 response
Successfully set the specified device to the new state.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
claimExpirationTime | string | Yes | read-only (server-generated) | Claim Expiration Timestamp |
updateDeviceClaimableState — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceClaimableState — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceClaimableState — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceClaimableState — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceClaimableState — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |