- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Enumerates DNS zones that have been created but not yet deleted.
HTTP request
GET https://apigee.googleapis.com/v1/{parent=organizations/*}/dnsZones
The URL uses gRPC Transcoding syntax.
Path parameters
parent
string
Required. Name of the organization for which to list the DNS zones. Use the following structure in your request: organizations/{org}
Authorization requires the following IAM
permission on the specified resource parent
:
-
apigee.dnszones.list
Query parameters
| Parameters | |
|---|---|
pageSize
|
Optional. Maximum number of DNS zones to return. If unspecified, at most 25 DNS zones will be returned. |
pageToken
|
Optional. Page token, returned from a previous |
Request body
The request body must be empty.
Response body
Response for list DNS zones.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"dnsZones"
:
[
{
object (
|
| Fields | |
|---|---|
dnsZones[]
|
DNS zones in a given organization. |
nextPageToken
|
Page token that you can include in an |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform

