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 uses gRPC 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 following IAM permission on the specified resource parent:

  • 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 previous dnsZones.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 an dnsZones.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