Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.28 KB

UpdateRoomGroupRequest.md

File metadata and controls

21 lines (16 loc) · 1.28 KB

DocspaceApiSdk::UpdateRoomGroupRequest

Properties

Name Type Description Notes
rooms_to_add Array<DuplicateRequestDtoAllOfFileIds> The rooms to attach to the group, each given as a number for a room stored in the portal or as a string for a room on a connected third-party account. Every identifier has to name a room the caller can read; repeats and rooms the group already holds are collapsed rather than refused. [optional]
rooms_to_remove Array<DuplicateRequestDtoAllOfFileIds> The rooms to detach from the group, in the same two forms. Detaching leaves the room and its content untouched, and a room the group already holds can be detached even when the caller has lost access to it in the meantime. [optional]
group_name String The new name of the group, trimmed of surrounding spaces before it is stored. Leaving the member out keeps the current name, and a name that is blank once trimmed is refused. [optional]

Example

require 'docspace-api-sdk'

instance = DocspaceApiSdk::UpdateRoomGroupRequest.new(
  rooms_to_add: [12, 15],
  rooms_to_remove: [7],
  group_name: Client projects
)