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

    deleteCollection

    Delete a Collection (strips the tag from items; does not delete items).

    Arguments

    id ID! required
    UUID of the Collection to delete (as returned by collections). Collection management is available only in workspaces whose Collections use the standard storage; where they use an older format the ids collections returns are not accepted here and the call returns a userError without changing anything.

    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.

    deletedCollectionId ID
    The id of the deleted Collection. Null when the Collection did not exist.
    userErrors [UserError!]!
    List of user-facing errors. Populated only when deletion failed.