# deleteComment

> Mutation in domain **Comments**

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

Delete an existing `Comment`. This will update and/or remove all relations to that `Comment`. Requires `basic:write` scope to be accessible and `Asset` permission level `COMMENT`.

## Returns

`DeleteComment`

## Arguments

- `input`: `DeleteCommentInput!` — `DeleteComment` input argument.

## Example

```graphql
mutation DeleteComment {
  deleteComment(
    input: {
      id: "…"
    }
  ) {
    __typename
    id
  }
}
```

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