7.2. Managing Domain Membership


7.2.1. Adding a Member

Add a user to a domain with the following command, specifying the user login and domain name. The user login must be a registered OpenShift Enterprise user.
$ rhc member add user@myemail.com -n Domain_Name
Copy to Clipboard
When a member is added to a domain, they receive the default role of edit. Use the --role option when adding a member to specify a different role:
$ rhc member add user@myemail.com -n Domain_Name --role Member_Role
Copy to Clipboard
Adding a Team to a Domain

When adding a team to a domain, use the --type option with team specified:

$ rhc member add Team_Name -n Domain_Name --type team
Copy to Clipboard

A global team can be added with the --global option:
$ rhc member add Global_Team_Name -n Domain_Name --type team --global
Copy to Clipboard
You can also add a team by specifying the team ID:
$ rhc member add Team_ID -n Domain_Name --type team --ids
Copy to Clipboard

Note

As with adding a member, use the --role option.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat