rpk security role unassign
Unassign a Redpanda role from a principal.
The --principal flag accepts principals with the format
'<PrincipalPrefix>:<Principal>'. If 'PrincipalPrefix' is not provided, then
defaults to 'User:'.
Examples
This section provides examples of how to use rpk security role unassign.
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
Unassign role topic-reader from group contractors.
rpk security role unassign topic-reader --principal Group:contractors
Flags
| Value | Type | Description |
|---|---|---|
|
stringSlice |
Principal to unassign the role from ( |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |