security login rest-role modify


Modify an access REST control role

Availability: This command is available to cluster administrators at the admin privilege level.


The security login rest-role modify command modifies an access-control role.


-vserver <Vserver Name> - Vserver

This optionally specifies the Vserver name associated with the role.

-role <text> - Role Name

This specifies the role that is to be modified.

-api <text> - api path

This specifies the api to which the role has access.

[-access <Access>] - Access Level

This optionally specifies a new access level for the role. Possible access level settings are none, readonly, and all. The default setting is all .


The following command modifies an access-control role with the role name readonly and the api access "/api/storage/volume" to have the access level readonly for Vserver

cluster1::> security login rest-role modify -role readonly -api /api/storage/volume -access readonly -vserver