hi,
i have try to create an user with read only right for rest api on /api/storage with this commands :
security login rest-role create -role api-ro -api /api/storage -access readonly -vserver myvserver (admin vserver)
security login create -user api-ro-user -application ontapi -authentication-method password -vserver myvserver (admin vserver)
vserver services web access create -name ontapi -role api-ro -vserver myvserver (admin vserver)
i try to get data :
curl -k -u "myuser:mypassword" -X GET "https://mynetappip/api/storage/aggregates" -H "accept: application/json"
i got:
error: 6691623 user is not authorized
can you say me what im doing wrong ?