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 idscollectionsreturns are not accepted here and the call returns a userError without changing anything.
Returns
- 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.