MUTATION
removeItemFromCollections
Remove an item from one or more collections.
Arguments
- collectionIds [ID!] default: []
- IDs of collections to remove the item from, as returned by the
collectionsquery for this workspace. Several id forms are accepted depending on how the workspace stores Collections. An id from another workspace, or one this workspace cannot write through this API, rejects the WHOLE call with a userErrors entry naming the offending id undercollectionIds. - collectionNames [String!] default: []
- Names of collections to remove the item from.
- itemId ID! required
- ID of the item to remove from collections.
Returns
- item Item
- The updated item.
- userErrors [UserError!]!
- List of errors that occurred.