Orgunits: delete

Requires authorization

Removes an organizational unit.

Request

HTTP request

DELETE 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

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Enviar comentarios sobre…

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