Orgunits: get

Retrieves an organizational unit.

Request

HTTP request

GET https://www.googleapis.com/admin/directory/v1/customer/customerId/orgunits/orgUnitPath*

Parameters

Parameter name Value Description
Path parameters
customerId string The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customerId. The customerId is also returned as part of the Users resource.
orgUnitPath string The full path of the organizational unit or its unique ID.

Authorization

This request requires authorization with at least one of the following scopes:

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

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an Orgunits resource in the response body.