AI-generated Key Takeaways
-
This document details the API for updating a
CustomFieldobject using aPATCHHTTP request. -
The API requires a
customField.namepath parameter to identify theCustomFieldresource and a requiredupdateMaskquery parameter to specify the fields to update. -
Both the request and response bodies contain an instance of the
CustomFieldobject. -
Updating a
CustomFieldrequires thehttps://www.googleapis.com/auth/admanagerOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to update a CustomField object.
HTTP request
PATCH https://admanager.googleapis.com/v1/{customField.name}
Path parameters
| Parameters | |
|---|---|
customField.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 CustomField.
Response body
If successful, the response body contains an instance of CustomField.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.