Method: customers.patch
HTTP request
PATCH https://admin.googleapis.com/admin/directory/v1/customers/{customerKey}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customerKey |
string
Id of the customer to be updated
|
Request body
The request body contains an instance of Customer
.
Response body
If successful, the response body contains an instance of Customer
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.directory.customer
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Updates a Google Workspace customer's information using the provided data."],["Requires authorization with the `https://www.googleapis.com/auth/admin.directory.customer` scope."],["Sends data via a `PATCH` request to a specific URL containing the customer's ID."],["The request and response bodies utilize the `Customer` resource to structure the data."]]],["This document details how to update customer information using a PATCH request to the Google Admin Directory API. The request URL specifies the customer to be updated via the `customerKey` path parameter. The request body must include a `Customer` resource containing the updated fields. A successful request returns an updated `Customer` resource. The operation requires OAuth 2.0 authorization with the `https://www.googleapis.com/auth/admin.directory.customer` scope.\n"]]