Domains: list

Requires authorization

Lists the domains of the customer. Try it now.

Request

HTTP request

GET https://www.googleapis.com/admin/directory/v1/customer/customer/domains

Parameters

Parameter name Value Description
Path parameters
customer string Immutable ID of the G Suite account.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.domain.readonly
https://www.googleapis.com/auth/admin.directory.domain

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "admin#directory#domains",
  "etag": etag,
  "domains": [
    domains Resource
  ]
}
Property name Value Description Notes
kind string Kind of resource this is.
etag etag ETag of the resource.
domains[] list List of domain objects.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.