Este contenido no está disponible en el idioma seleccionado.
8.3. List Teams by Owner
Get a list of teams owned by a particular user, specified with the owner parameter.
| Method | URL Structure |
|---|---|
GET | /broker/rest/teams |
| Name | Description | Required | Default |
|---|---|---|---|
owner | List teams owned by specified user, or @self for current user | Yes |
{
"owner": "@self"
}
{
"owner": "@self"
}
curl -X GET https://openshift.redhat.com/broker/rest/teams --user user@example.com:password --data-urlencode owner=@self
$ curl -X GET https://openshift.redhat.com/broker/rest/teams --user user@example.com:password --data-urlencode owner=@self
The API returns a list of teams owned by the specified user. The related resource links returned by the API have been left out for brevity.