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

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
主站蜘蛛池模板: 油尖旺区| 周宁县| 鄂托克旗| 时尚| 新沂市| 思南县| 唐海县| 东阳市| 资源县| 绿春县| 绿春县| 太白县| 临澧县| 涪陵区| 银川市| 民勤县| 循化| 罗田县| 康马县| 雷波县| 防城港市| 永川市| 永吉县| 乌海市| 丰宁| 连州市| 平度市| 佛山市| 海宁市| 庆阳市| 保靖县| 和龙市| 同仁县| 济源市| 静乐县| 陆丰市| 深水埗区| 广德县| 三台县| 大洼县| 巴南区|