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