kf unset-space-role

姓名

kf unset-space-role - 为主体取消分配角色。

摘要

kf unset-space-role SUBJECT_NAME ROLE [flags]

示例

# 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

标志

-h, --help

有关 unset-space-role 的帮助

-t, --type=string

主体类型,有效值为 Group|ServiceAccount|User(default)。(默认值为“User”)

继承的标志

这些标志继承自父命令。

--as=string

操作要模拟的用户名。

--as-group=strings

操作要模拟的群组。多次添加此标志可指定多个群组。

--config=string

用于 CLI 请求的 Kf 配置文件的路径。

--kubeconfig=string

用于 CLI 请求的 kubeconfig 文件的路径。

--log-http

将 HTTP 请求记录到标准错误。

--space=string

用于对其运行命令的空间。此标志会替换当前所针对的空间。