Este conteúdo não está disponível no idioma selecionado.
Chapter 9. Members
This chapter provides information on API resources to create and manage OpenShift Enterprise members. A member is a developer or a team with access to a domain.
The following table describes each parameter associated with members.
Expand
Name | Description |
---|---|
id | Unique identifier of member |
role | Type of role a member is provided |
type | Type of member; for example, user or team |
from | Source of the membership |
owner | Indicates whether the member is owner of the resource |
members | An array of members to add with corresponding type and role; for example, {'members': [{'login': 'foo', 'type': 'user', 'role': 'view'}, {'id': '5326534e2046fde9d3000001', 'type': 'team', 'role': 'none'}]} |
9.1. List Members of a Domain Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Description
Get a list of members that belong to the specified domain.
Method and URL Structure
Method | URL Structure |
---|---|
GET | /broker/rest/domains/:name/members |
Request Parameters
Not applicable
cURL Command Example
curl -X GET https://openshift.redhat.com/broker/rest/domains/mydomain/members --user user@example.com:password
$ curl -X GET https://openshift.redhat.com/broker/rest/domains/mydomain/members --user user@example.com:password
JSON Response
The API returns a list of all members belonging to the specified domain.