Orgunits: patch

Requires authorization

Updates an organizational unit. This method supports patch semantics.

Request

HTTP request

PATCH 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 the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply the relevant portions of an Orgunits resource, according to the rules of patch semantics.

Response

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