# `Attio.Comments`
[🔗](https://github.com/sgerrand/ex_attio/blob/v0.2.0/lib/attio/comments.ex#L1)

Functions for managing individual comments.

Comments belong to threads, which are attached to records or list entries.
Use `Attio.Threads` to create a new thread with an initial comment.

Requires the `comment:read` scope for read operations and
`comment:read-write` for mutations.

# `delete`

```elixir
@spec delete(Attio.Client.t(), String.t()) :: {:ok, map()} | {:error, term()}
```

Deletes a comment.

# `get`

```elixir
@spec get(Attio.Client.t(), String.t()) :: {:ok, map()} | {:error, term()}
```

Gets a single comment by its ID.

# `update`

```elixir
@spec update(Attio.Client.t(), String.t(), map()) :: {:ok, map()} | {:error, term()}
```

Updates a comment's content.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
