Method: enterprises.structures.list

  • Lists device access structures managed by an enterprise using the provided endpoint.

  • Allows filtering structures via an optional query parameter.

  • Requires authorization using the https://www.googleapis.com/auth/sdm.service scope.

  • Returns a list of structures if successful, formatted as outlined in the response body section.

Lists structures managed by the enterprise.

HTTP request

GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/structures

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent enterprise to list structures under. E.g. "enterprises/XYZ".

Query parameters

Parameters
filter

string

Optional filter to list structures.

Request body

The request body must be empty.

Response body

Response message for SmartDeviceManagementService.ListStructures

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

JSON representation
{
  "structures": [
    {
      object (Structure)
    }
  ]
}
Fields
structures[]

object (Structure)

The list of structures.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/sdm.service

For more information, see the OAuth 2.0 Overview.