Method: apps.authorizedDomains.list

Lists all domains the user is authorized to administer.

HTTP request

GET https://appengine.googleapis.com/v1/{parent=apps/*}/authorizedDomains

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Name of the parent Application resource. Example: apps/myapp.

Authorization requires the following IAM permission on the specified resource parent:

  • appengine.applications.get

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

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

Response message for AuthorizedDomains.ListAuthorizedDomains.

JSON representation
{
  "domains": [
    {
      object (AuthorizedDomain)
    }
  ],
  "nextPageToken": string
}
Fields
domains[]

object (AuthorizedDomain)

The authorized domains belonging to the user.

nextPageToken

string

Continuation token for fetching the next page of results.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/appengine.admin
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only

For more information, see the Authentication Overview.

AuthorizedDomain

A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console.

JSON representation
{
  "name": string,
  "id": string
}
Fields
name

string

Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.

Note: This field is used in responses only. Any value specified here in a request is ignored.

id

string

Fully qualified domain name of the domain authorized for use. Example: example.com.