Open chuyich opened 9 months ago
Thank you, @chuyich, for taking time to bring this to our attention.
@chuyich Thanks for your feedback. Two questions. 1.) Why do you mention checking with the BlueXP dev team? 2.) Can you please send an example of the JSON input you are using (with user and svm) to get the failure?
I'm the user of these APIs. I followed this page to work on the automation. The BlueXP development team should know if the API behavior is proper or not.
Here is an example.
API URL: {{cluster4}}/api/protocols/cifs/users-and-groups/privileges/<SVM ID>/test3 { "privileges":["SeSecurityPrivilege", "SeTcbPrivilege"], "name": "test3" }
I got
{ "error": { "message": "Field \"name\" is not supported in the body of a PATCH.", "code": "262203", "target": "name" } }
It seems only the part needs to be changed can be in the request body.
Tracking in AUTODOC-146.
Page URL
https://docs.netapp.com/us-en/ontap-restapi/ontap/patch-protocols-cifs-users-and-groups-privileges-.html
Page title
Update privileges for a local, or Active Directory user or group and SVM
Summary
Based on the test with postman, I found the Request Body for the privilege update should not include name and svm. Otherwise, the API responses:
Please check with BlueXP dev team and fix the document.
Public issues must not contain sensitive information