A newer release of this product is available.
security login rest-role modify
Contributors
Modify an access REST control role
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The security login rest-role modify
command modifies an access-control role.
Parameters
-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 {none|readonly|all}]
- 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
.
Examples
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 vs.example.com:
cluster1::> security login rest-role modify -role readonly -api /api/storage/volume -access readonly -vserver vs.example.com