rpk security role unassign
Unassign a Redpanda role from a principal.
The --principal
flag accepts principals with the format <PrincipalPrefix>:<Principal>
.
Command defaults to User:
if PrincipalPrefix
is not provided.
Examples
Unassign role redpanda-admin
from user red
:
rpk security role unassign redpanda-admin --principal red
Unassign role redpanda-admin
from users red
and panda
:
rpk security role unassign redpanda-admin --principal red,panda
Flags
Value | Type | Description |
---|---|---|
|
- |
Help for unassign. |
|
strings |
Principal to unassign the role from (repeatable). |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Output format. Possible values: |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |