Method: organizations.dnsZones.list Stay organized with collections Save and categorize content based on your preferences.
Enumerates DNS zones that have been created but not yet deleted.
HTTP request
GET https://apigee.googleapis.com/v1/{parent=organizations/*}/dnsZones
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Name of the organization for which to list the DNS zones. Use the following structure in your request: Authorization requires the followingIAM permission on the specified resource
|
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
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.