Name
kf unset-space-role - Unassign a Role to a Subject.
Synopsis
kf unset-space-role SUBJECT_NAME ROLE [flags]
Examples
# Unassign a User to a Role kf unset-space-role john@example.com SpaceDeveloper # Unassign a Group to a Role kf unset-space-role my-group SpaceAuditor -t Group # Unassign a ServiceAccount to a Role kf unset-space-role my-sa SpaceAuditor -t ServiceAccount
Flags
-h, --helphelp for unset-space-role
-t, --type=stringType of subject, valid values are Group|ServiceAccount|User(default). (default "User")
Inherited flags
These flags are inherited from parent commands.
--as=stringUsername to impersonate for the operation.
--as-group=stringsGroup to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=stringPath to the Kf config file to use for CLI requests.
--kubeconfig=stringPath to the kubeconfig file to use for CLI requests.
--log-httpLog HTTP requests to standard error.
--space=stringSpace to run the command against. This flag overrides the currently targeted Space.