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

{
    "enterpriseId": 0,
    "hostName": "string"
}
{
    "enterpriseId": 0,
    "hostName": "string",
    "clientDeviceId": 0,
    "macAddress": "string",
    "ipAddress": "string"
}
integer
enterpriseId
Required

enterpriseId

string
hostName
Required

hostName

integer
clientDeviceId
Optional

clientDeviceId

string
macAddress
Optional

macAddress

string
ipAddress
Optional

ipAddress

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 '{"enterpriseId:"integer","hostName:"string"}' https://{api_host}/portal/rest/clientDevice/setClientDeviceHostName