---
title: "Deal a report"
method: DELETE
path: "/reports/{id}"
tags: ["Report"]
---

# Deal a report

`DELETE /reports/{id}`

Mark a report as "dealt" and send notification to reporter

## Path parameters

- `id` integer, required

## Request body

- ReportDeleteModel
  - `result` string, required — The deal result, send it to reporter

## Response `200`

OK

- ModelsReport
  - `dealt` boolean — the report has been dealt
  - `dealt_by` integer — who dealt the report
  - `floor` ModelsFloor
    - `anonyname` string — a random username
    - `content` string — content of the floor, no more than 15000, should be sensitive checked, no more than 10000 in frontend
    - `deleted` boolean — whether the floor is deleted
    - `dislike` integer — dislike number
    - `disliked` boolean — whether the user has disliked the floor
    - `floor_id` integer — old version compatibility
    - `fold` string[] — fold reason, for v1
    - `fold_v2` string — fold reason
    - `hole_id` integer — the hole it belongs to
    - `id` integer — / saved fields
    - `is_actual_sensitive` boolean — manual sensitive check
    - `is_me` boolean — whether the user is the author of the floor
    - `is_sensitive` boolean — auto sensitive check
    - `like` integer — like number
    - `liked` boolean — whether the user has liked the floor
    - `mention` ModelsFloor[] — many to many mentions
    - `modified` integer — the modification times of floor.content
    - `ranking` integer — the ranking of this floor in the hole
    - `reply_to` integer — floor_id that it replies to, for dialog mode, in the same hole
    - `sensitive_detail` string — auto sensitive check detail
    - `special_tag` string — additional info, like "树洞管理团队"
    - `time_created` string
    - `time_updated` string
  - `floor_id` integer
  - `hole_id` integer
  - `id` integer
  - `reason` string
  - `report_id` integer
  - `result` string — deal result
  - `time_created` string
  - `time_updated` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/opentreehole/apis/open-tree-hole.md) · [All operations](https://skmtc.net/opentreehole/apis/open-tree-hole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opentreehole/open-tree-hole/revisions/a91f11ffe9a4/schema)
