HPE OneView
1753637 Members
5455 Online
108798 Solutions
New Discussion

Corrections for REST API Reference

 
BradV
Esteemed Contributor

Corrections for REST API Reference

On the Settings -> Appliance SNMPv3 users reference, a couple of corrections:

In the POST to create users, the example request shows using:

"SecurityLevel":
"AuthenticationProtocol":
"PrivacyProtocol":

which is wrong (and OneView rejects them).  The Request Body below shows them correct as having the initial character as lower case.

The second error is in the DELETE user section.  The example shows:

DELETE https://{appl}/rest/appliance/snmpv3-trap-forwarding/users?filter?"username='testUser'"

which is incorrect in two ways.  First, the ? after filter needs to be an =.  Second, the double and single quotes in the filter need to be changed to percent encoding.  e.g.:

DELETE https://{appl}/rest/appliance/snmpv3-trap-forwarding/users?filter=%22username=%27testUser%27%22
1 REPLY 1
ManBha
HPE Pro

Re: Corrections for REST API Reference

Hello Brad,

 

Thank you for the update.

 

We will check and share this feedback.

 

Thanks.

I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo