MUTATION
moveCollectionToGroup
Move a Collection into a view group, or out (when groupId is null).
Arguments
- collectionId ID! required
- UUID of the Collection to move (as returned by
collections). Collection management is available only in workspaces whose Collections use the standard storage; where they use an older format the idscollectionsreturns are not accepted here and the call returns a userError without changing anything. - groupId ID
- Target ViewGroup UUID. Pass null to remove the Collection from any group it currently belongs to.
Returns
- collection Collection
- The moved Collection, with the populated
groupfield. Null when the Collection was not found or the move failed. - userErrors [UserError!]!
- List of user-facing errors. Empty on success.