# deleteCollection

> Mutation in domain **Collections**

- HTML: [deleteCollection.html](deleteCollection.html)
- Raw SDL: [deleteCollection.sdl](deleteCollection.sdl)
- Covered by: [llms.txt](../llms.txt)

Delete an existing `Collection`. Requires `basic:write` scope to be accessible and `Collection` permission level `EDIT`.

## Returns

`DeleteCollection`

## Arguments

- `input`: `DeleteCollectionInput!` — `DeleteCollection` input argument.

## Example

```graphql
mutation DeleteCollection {
  deleteCollection(
    input: {
      collectionId: "…"
    }
  ) {
    __typename
    id
  }
}
```

Raw: [`deleteCollection.example.sdl`](deleteCollection.example.sdl)
