- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a section. Only sections of type CUSTOM_SECTION can be updated. For details, see Create & organize sections in Google Chat.
Requires user authentication with the authorization scope:
https://www.googleapis.com/auth/chat.users.sections
HTTP request
PATCH https://chat.googleapis.com/v1/{section.name=users/*/sections/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
section.name |
Identifier. Resource name of the section. For system sections, the section ID is a constant string:
Format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Required. The mask to specify which fields to update. Currently supported field paths:
|
Request body
The request body contains an instance of Section.
Response body
If successful, the response body contains an instance of Section.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.users.sections
For more information, see the Authorization guide.