---
title: "PATCH /api/reports/{reportId}"
method: PATCH
path: "/api/reports/{reportId}"
tags: ["reports"]
---

# PATCH /api/reports/{reportId}

`PATCH /api/reports/{reportId}`

Update a report's status

## Path parameters

- `reportId` string, uuid, required

## Request body

- object
  - `status` 'pending' | 'resolved' | 'closed', required

## Response `200`

Report updated successfully

- object
  - `id` string, uuid, required
  - `commentId` string, required — Hex format string, e.g. `0x1234567890abcdef`
  - `reportee` string, required — Hex format string, e.g. `0x1234567890abcdef`
  - `message` string, required
  - `createdAt` string, nullable, required
  - `updatedAt` string, nullable, required
  - `status` 'pending' | 'resolved' | 'closed', required

## Other responses

- `400` — Bad request
- `401` — When user is not authenticated
- `404` — When report is not found

---

[API](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api.md) · [All operations](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ethcomments/ethereum-comments-protocol-indexer-api/versions/9627e9d1ff21/schema)
