kf unset-space-role

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, --help
help for unset-space-role
-t, --type=string
Type of subject, valid values are Group|ServiceAccount|User(default). (default "User")

Inherited flags

These flags are inherited from parent commands.

--as=string
Username to impersonate for the operation.
--as-group=strings
Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=string
Path to the Kf config file to use for CLI requests.
--kubeconfig=string
Path to the kubeconfig file to use for CLI requests.
--log-http
Log HTTP requests to standard error.
--space=string
Space to run the command against. This flag overrides the currently targeted Space.