Method: networks.list

  • The networks.list API retrieves all networks accessible to the current user.

  • The HTTP request uses the GET method to https://admanager.googleapis.com/v1/networks.

  • The request body for this API call must be empty.

  • The response body contains a JSON representation with a list of accessible networks under the networks field.

  • This API requires the https://www.googleapis.com/auth/admanager OAuth scope for authorization.

API to retrieve all the networks the current user has access to.

HTTP request

GET https://admanager.googleapis.com/v1/networks

Request body

The request body must be empty.

Response body

Response object for networks.list method.

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

JSON representation
{
  "networks": [
    {
      object (Network)
    }
  ]
}
Fields
networks[]

object (Network)

The Networks a user has access to.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.