# updateCollection > Mutation in domain **Collections** - HTML: [updateCollection.html](updateCollection.html) - Raw SDL: [updateCollection.sdl](updateCollection.sdl) - Covered by: [llms.txt](../llms.txt) Update an existing `Collection`. Requires `basic:write` scope to be accessible and `Collection` permission level `EDIT`. ## Returns `UpdateCollection` ## Arguments - `input`: `UpdateCollectionInput!` — `UpdateCollection` input argument. ## Example ```graphql mutation UpdateCollection { updateCollection( input: { collectionId: "…" data: { name: "…" } } ) { __typename collection { name id assets { total page limit hasNextPage items { id } } currentUserPermissions { canAddAssets canRemoveAssets } } } } ``` Raw: [`updateCollection.example.sdl`](updateCollection.example.sdl)