---
title: "Resolve or reopen a comment"
method: PATCH
path: "/comments/{id}"
tags: ["Comments"]
---

# Resolve or reopen a comment

`PATCH /comments/{id}`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/comments/{id}`
- Auth: API key in header `X-API-KEY`

Updates the status of a single comment. AI comments not visible to the caller under the visibility gate return 404.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `status` 'resolved' | 'open', required

## Response `200`

Comment status updated.

- object
  - `data` object
    - `comment` object
      - `id` string, uuid
      - `status` 'open' | 'resolved'
  - `request_id` string

## Other responses

- `400`: Validation failed
- `401`: Authentication failed
- `404`: Resource not found
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/frase/apis/frase-api.md) · [All operations](https://skmtc.dev/frase/apis/frase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frase/apis/frase-api/revisions/7fb75d89f7a4?raw)
