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

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
主站蜘蛛池模板: 罗田县| 秭归县| 抚宁县| 井陉县| 康乐县| 海南省| 南召县| 诸城市| 玉树县| 英德市| 盘山县| 镇雄县| 商河县| 巴彦县| 涡阳县| 田阳县| 灵丘县| 社旗县| 湘西| 固原市| 东台市| 仁化县| 任丘市| 广丰县| 大新县| 麻江县| 右玉县| 卢龙县| 临夏县| 贡山| 安图县| 鹤壁市| 文成县| 淮北市| 黑龙江省| 青冈县| 永泰县| 太仆寺旗| 洮南市| 武强县| 乃东县|