Set Link server settings
This endpoint has been deprecated and may be removed in future versions of the API.
Set Link server settings
- application/json
Request Body required
- link_enable boolean
Default value:
false
enable/disable connection to Link
- link_url ipv4 or dns
address for used Link server
- link_password string
password that needs to be used by Link server to establish connection with device
- realtime_logging boolean
Default value:
true
If enabled device will send logs on server
- heartbeat boolean
used for HTTP Link, sends heartbeat to server to indicate that device is still connected
- 200
- 400
- 401
OK
Data validation error
- application/json
- Schema
- Example (from schema)
Schema
error object
object containing info about error
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
object containing info about error
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}