Modify unmanaged device filtering rule status, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 322: Returned result, Example

Advertising
background image

Modify Unmanaged Device Filtering Rule Status

Modify the status of the filtering rule for unmanaged devices.

You can switch between the Enabled state and the Disabled state.

Interface URI

/syslog/filter/currentUnmanagedDeviceRuleState/{id}

Access Method

HTTP

PUT

Parameters

Path parameters

Status ID.

id

Integer type. No default value. Valid values include 0 and 1.

Returned Result

Status codes

204 (No Content): Success.

Example

Change the status of the filtering rule for unmanaged devices to 1, which indicates the Enabled
state.

Request

PUT http://imc_host:8080/imcrs/syslog/filter/currentUnmanagedDeviceRuleState/1
accept: application/xml
...

Response

HTTP/1.1 204 No Content
...

The message body is empty.

322 Network Syslog Management

Advertising