Method: organizations.dnsZones.list

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

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 followingIAM permission on the specified resourceparent:

  • apigee.dnszones.list

Query parameters

Parameters
pageSize

integer

Optional. Maximum number of DNS zones to return. If unspecified, at most 25 DNS zones will be returned.

pageToken

string

Optional. Page token, returned from a previousdnsZones.list call, that you can use to retrieve the next page.

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 (DnsZone)}],"nextPageToken":string}
Fields
dnsZones[]

object (DnsZone)

DNS zones in a given organization.

nextPageToken

string

Page token that you can include in andnsZones.list request to retrieve the next page. If omitted, no subsequent pages exist.

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.