官术网_书友最值得收藏!

Leaving a domain using rhc

You have now become a member of a domain that corresponds to the production environment. You have completed your work and now you want to leave the production domain.

Getting ready

To complete this recipe, you will need to have rhc installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for instructions.

How to do it…

To leave a domain, you should run the following command. All the users are allowed to leave the domain they are a member of:

$ rhc leave-domain --namespace prodosbook -l openshift.cookbook.test@gmail.com

How it works…

The rhc leave-domain command requires only one mandatory argument, which is --namespace, the namespace you want to leave. It then removes the user from the domain members. The rhc client makes a REST delete request to remove the member from the namespace.

See also

  • The Adding viewer members to a domain using rhc recipe
  • The Adding an admin member to a domain using rhc recipe
  • The Viewing all the members in a domain using rhc recipes
主站蜘蛛池模板: 全州县| 四川省| 民乐县| 宜春市| 封开县| 道孚县| 嘉禾县| 新丰县| 苏州市| 沿河| 西充县| 确山县| 曲周县| 安康市| 漳州市| 新和县| 白沙| 宾川县| 青州市| 曲松县| 衢州市| 衡阳市| 米泉市| 杨浦区| 贺州市| 双江| 凉山| 阳曲县| 高青县| 罗山县| 渝中区| 乐亭县| 阿城市| 婺源县| 揭东县| 德阳市| 西城区| 高雄市| 仲巴县| 西安市| 循化|