Deletes a section of type CUSTOM_SECTION.
If the section contains items, such as spaces, the items are moved to Google Chat's default sections and are not deleted.
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
DELETE https://chat.googleapis.com/v1/{name=users/*/sections/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the section to delete. Format: |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.users.sections
For more information, see the Authorization guide.