The example "query" type does not match the definition of the field. The example shows an array (a list). But actually by definition it should be a string.
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"comment": "string",
"name": "admin",
"owner": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
},
"privileges": [
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"access": "readonly",
"path": [
"/api/cluster/jobs",
"/api/storage/volumes",
"job schedule interval",
"volume move"
],
"query": [
"-days <1 -hours >12",
"-vserver vs1|vs2|vs3 -destination-aggregate aggr1|aggr2"
]
}
],
"scope": "string"
}
Page URL
https://docs.netapp.com/us-en/ontap-restapi-9111/ontap/post-security-roles.html
Page title
Create a new cluster-scoped or SVM-scoped role
Summary
The example "query" type does not match the definition of the field. The example shows an array (a list). But actually by definition it should be a string. { "_links": { "self": { "href": "/api/resourcelink" } }, "comment": "string", "name": "admin", "owner": { "_links": { "self": { "href": "/api/resourcelink" } }, "name": "svm1", "uuid": "02c9e252-41be-11e9-81d5-00a0986138f7" }, "privileges": [ { "_links": { "self": { "href": "/api/resourcelink" } }, "access": "readonly", "path": [ "/api/cluster/jobs", "/api/storage/volumes", "job schedule interval", "volume move" ], "query": [ "-days <1 -hours >12", "-vserver vs1|vs2|vs3 -destination-aggregate aggr1|aggr2" ] } ], "scope": "string" }
role_privilege https://docs.netapp.com/us-en/ontap-restapi-9111//ontap/post-security-roles.html#definitions
Public issues must not contain sensitive information