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

    updateCollection

    Rename a Collection in the current workspace.

    Arguments

    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.

    id ID! required
    UUID of the Collection to update (as returned by createCollection / 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.
    input UpdateCollectionInput! required
    Mutation input.

    Returns

    collection Collection
    The updated Collection. Null on validation failure or when not found.
    userErrors [UserError!]!
    List of user-facing validation errors. Empty on success.