Set Client Device Host Name

Set Client Device Host Name

Sets the hostName for client device

Privileges required:

UPDATE CLIENT_DEVICE

Request
URI
POST
https://{api_host}/portal/rest/clientDevice/setClientDeviceHostName
COPY
Request Body

Show optional properties

{
    "hostName": "string"
}
{
    "enterpriseId": 0,
    "edgeId": 0,
    "hostName": "string",
    "macAddress": "string",
    "ipAddress": "string",
    "logicalId": "string"
}
integer
enterpriseId
Optional

enterpriseId

integer
edgeId
Optional

edgeId

string
hostName
Required

hostName

string
macAddress
Optional

macAddress

string
ipAddress
Optional

ipAddress

string
logicalId
Optional

logicalId

Responses
200

Request was successfully processed

Returns set_client_device_host_name_result of type(s) application/json
This response body class contains all of the following: Inlineset_client_device_host_name_result0
{
    "rows": 1
}

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostName:"string"}' https://{api_host}/portal/rest/clientDevice/setClientDeviceHostName