Description:
This API edits a specific gateway and re-setup all.
Required Roles:
One of the following:
URI:
/op/api/v1/gateway/{{gatewayId}}
Request:
The request should use the PUT method with the following URL parameters:
| | | | |
---|
gatewayId
| Required | The gateway ID. | Long | |
The request should use the PUT method with the following fields in its body:
| | | | |
---|
name | Optional | The gateway name in DPOD (must be identical to the System Identifier of the gateway) | String | |
host | Optional | IP Address used to access the gateway. | String | |
somaPort | Optional | The SOMA port configured on this gateway. | String | |
somaUserName | Optional | The user name used to access the monitored devices via SOMA/ROMA. | String | |
somaPassword | Optional | The password of the user name used to access the monitored devices via SOMA/ROMA. | String | |
logTargetSourceAddress | Optional | IP Address or host alias. | String | |
disabledSamplings | Optional | Disabled Samplings | String | |
reSetupSyslogForDevice | Required | Re-setup Syslog agents for device. | Boolean | |
reSetupSyslogForAllDomains | Required | Re-setup Syslog agents for all domains. | Boolean | |
reSetupWsmForDevice | Required | Re-setup WS-M agents for device. | Boolean | |
reSetupWsmForAllDomains | Required | Re-setup WS-M agents for all domains. | Boolean | |
Example:
{
"name": "idg_10_5_0_a",
"host": "1.1.1.1",
"somaPort": 5550,
"somaUserName": "admin",
"logTargetSourceAddress": "1.1.1.1",
"disabledSamplings": "AUDIT_LOG_GETTER",
"reSetupSyslogForDevice": true,
"reSetupSyslogForAllDomains": true,
"reSetupWsmForDevice": true,
"reSetupWsmForAllDomains": true
}
Successful Response:
The response includes the following fields in its result
element:
Example: