AI-generated Key Takeaways
-
The
contacts.batchUpdatemethod allows for batch updating ofContactobjects using a POST request tohttps://admanager.googleapis.com/v1/{parent}/contacts:batchUpdate. -
The request requires a
parentpath parameter specifying the network code and a request body containing a list ofUpdateContactRequestobjects, with a maximum of 100 objects allowed per batch. -
Each
UpdateContactRequestmust include theContactobject to update and anupdateMaskspecifying the fields to be modified. -
The response body returns a list of the updated
Contactobjects. -
This method requires the
https://www.googleapis.com/auth/admanagerOAuth scope for authorization.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdateContactRequest
- Try it!
API to batch update Contact
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/contacts:batchUpdate
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The parent resource where |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests"
:
[
{
object (
|
| Fields | |
|---|---|
requests[]
|
Required. The |
Response body
Response object for contacts.batchUpdate
method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"contacts"
:
[
{
object (
|
| Fields | |
|---|---|
contacts[]
|
The |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview .
UpdateContactRequest
Request object for contacts.patch
method.
| JSON representation |
|---|
{
"contact"
:
{
object (
|
| Fields | |
|---|---|
contact
|
Required. The The |
updateMask
|
Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |

