cloudfoundry/cloud_controller_ng

View on GitHub
docs/v3/source/includes/resources/organizations/_get_default_domain.md.erb

Summary

Maintainability
Test Coverage
### Get default domain

```
Example Request
```

```shell
curl "https://api.example.org/v3/organizations/[guid]/domains/default" \
  -X GET \
  -H "Authorization: bearer [token]"
```

```
Example Response
```

```http
HTTP/1.1 200 OK
Content-Type: application/json

<%= yield_content :single_domain %>
```

Retrieve the default domain for a given organization.

#### Definition
`GET /v3/organizations/:guid/domains/default`

#### Permitted roles
 Role | Notes
--- | ---
Admin |
Admin Read-Only |
Global Auditor |
Org Auditor |
Org Billing Manager | Can only view domains without an organization relationship
Org Manager |
Space Auditor |
Space Developer |
Space Manager |
Space Supporter |