Can you create a REST role with access only to specific volumes?
Applies to
- ONTAP 9.x
- REST
Answer
- It is not possible to create a custom REST role with access only to specific volumes.
- Attempting to limit a REST role with a specific volume uuid will not will work and will return the following error.
cluster::security login rest-role*> create -vserver cluster -role test -api /api/storage/volumes/<volume uuid> -access all
Error: command failed: Specified URI path is invalid or not supported. Verify that the URI contains only valid characters.
- This is a limitation in REST.