# Method: namespaces.authorizeddomains.list

- [HTTP request](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.request_body)
- [Response body](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.ListAuthorizedDomainsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#body.aspect)
- [AuthorizedDomain](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#AuthorizedDomain)
  - [JSON representation](https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#AuthorizedDomain.SCHEMA_REPRESENTATION)

List authorized domains.

### HTTP request

`GET https://run.googleapis.com/apis/domains.cloudrun.com/v1/{parent}/authorizeddomains`

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Name of the parent Project resource. Example: `projects/myproject`. It takes the form `namespaces/{namespace}`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `run.authorizeddomains.list` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Maximum results to return per page. |
| `pageToken` | `string` Continuation token for fetching the next page of results. |

### Request body

The request body must be empty.

### Response body

A list of Authorized Domains.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "domains": [ { object (`https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#AuthorizedDomain`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `domains[]` | ``object (`https://docs.cloud.google.com/run/docs/reference/rest/v1/namespaces.authorizeddomains/list#AuthorizedDomain`)`` The authorized domains belonging to the user. |
| `nextPageToken` | `string` Continuation token for fetching the next page of results. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

## AuthorizedDomain

A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via [Search Console](https://search.google.com/search-console/welcome).

| JSON representation |
|---|
| ``` { "name": string, "id": string } ``` |

| Fields ||
|---|---|
| `name (deprecated)` | `string` > [!WARNING] > This item is deprecated! Deprecated Read only. Full path to the `AuthorizedDomain` resource in the API. Example: `projects/myproject/authorizedDomains/example.com`. |
| `id` | `string` Relative name of the domain authorized for use. Example: `example.com`. |