Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    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 collections query 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 under collectionIds.
    collectionNames [String!] default []
    Names of collections to remove the item from.
    itemId ID! required
    ID of the item to remove from collections.

    Returns

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    item Item
    The updated item.
    userErrors [UserError!]!
    List of errors that occurred.