API Guide

Table Of Contents
/api/DeviceService/Devices(DEVICE_ID)/
Settings('NetworkServices')
This URI represents the network services configuration.
PUT method for network services settings
This method configures the network services settings.
Description Configures the network services settings.
Privilege DEVICE_CONFIGURATION
HTTP response
code
200
Example request
body
{
"SettingType": "NetworkServices",
"SnmpConfiguration": {
"SnmpEnabled": true,
"PortNumber": 161,
"SnmpV1V2Credential": {
"CommunityName": "public"
}
},
"SshConfiguration": {
"SshEnabled": true,
"PortNumber": 22,
"MaxSessions": 4,
"IdleTimeout": 2700,
"MaxAuthRetries": 7
},
"EnableRemoteRacadm": true
}
NOTE: To ensure that the maximum authorization settings work in Linux systems, configure the
attribute, MaxAuthRetries, in the ssh_config file.
/api/DeviceService/Devices(Device_ID)/
Settings('LocalAccessConfiguration')
This API represents the local access configuration information.
GET method for local access configuration
This method returns the local access configuration details.
Description
Returns the local access configuration details.
Privilege VIEW
HTTP response
code
200
Example
response body
{
"@odata.context": "/api/$metadata#DeviceService.DeviceSetting",
"@odata.type": "#DeviceService.DeviceSetting",
"@odata.id": "/api/DeviceService/Devices(10069)/
Settings('LocalAccessConfiguration')",
314 Devices