v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1330180264.7 KB
users

Changes the sort order of a section. For details, see Create and organize sections in Google Chat. Requires user authentication with the authorization scope: - https://www.googleapis.com/auth/chat.users.sections

post/v1/{+name}:position

Path parameters

namestring required

Required. The resource name of the section to position. Format: users/{user}/sections/{section}

Request body

relativePosition'POSITION_UNSPECIFIED' | 'START' | 'END'

Optional. The relative position of the section in the list of sections.

sortOrderinteger

Optional. The absolute position of the section in the list of sections. The position must be greater than 0. If the position is greater than the number of sections, the section will be appended to the end of the list. This operation inserts the section at the given position and shifts the original section at that position, and those below it, to the next position.

Response

Successful response