This command removes permissions from a role.
Usage
role unassign --id ID
{--realm REALM| {--object-type OBJECT_TYPE --object-id OBJECT_ID}}
[--permissions create|view|edit|delete]
[--tenant-ids IDs]
Required Parameters
| Specifies the role. |
Options
| Specify a realm of VMS objects. Possible values:
|
| Use this parameter together with Examples of objects are:
For example, if you want to remove permission to access a given view, you would specify |
| Specify an object ID of the type specified by For example: |
| Include this parameter to specify a specific type of permission. Omit this parameter to remove all types. |
| Determines the tenant(s) for the role. You can specify one tenant ID or a comma-separated list of tenant IDs. |
Example
The following example removes all permissions to the security realm on tenant 2:
vcli: admin> role unassign --id 2 --realm security --tenant-ids 2