MUTATION
updateCollection
Rename a Collection in the current workspace.
Arguments
- 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 idscollectionsreturns 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.