AI-generated Key Takeaways
-
This document details the API for updating a
Contact
object. -
The API uses a
PATCH
HTTP request to the specified endpoint, including the contact's name as a path parameter. -
A required
updateMask
query parameter specifies which fields of theContact
object to update. -
The request and response bodies both contain an instance of the
Contact
object. -
Updating a contact requires the
https://www.googleapis.com/auth/admanager
OAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to update a Contact
object.
HTTP request
PATCH https://admanager.googleapis.com/v1/{contact.name}
Path parameters
Parameters | |
---|---|
contact.name |
Identifier. The resource name of the |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Contact
.
Response body
If successful, the response body contains an instance of Contact
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.