---
title: "Soft-delete a Comment."
method: DELETE
path: "/comments/{id}"
tags: ["comments"]
---

# Soft-delete a Comment.

`DELETE /comments/{id}`

## Request

- Base URL: `https://restivity.ai/api/v1`
- URL: `https://restivity.ai/api/v1/comments/{id}`
- Auth: OAuth 2 (authorization code, authorization URL `https://restivity.ai/oauth/authorize`, token URL `https://restivity.ai/api/oauth/token`, scopes: `comments:delete`)

Sets deleted_at=now(). Row is purged after 30 days by the agent-soft-deletes cron (see §D-6.8). Restore via POST /{id}/restore within the window.

## Path parameters

- `id` string, uuid, required

## Response `204`

Soft-deleted.

## Other responses

- `400`: Invalid request shape.
- `401`: Missing or invalid access token.
- `403`: Token lacks the required scope.
- `404`: No such Comment.
- `422`: Request body failed schema validation.
- `429`: Rate-limit exceeded for this tier.

## Changes

- **2026-10-21** `4bd38e30e43f`: 6 info
  - added the optional property `proposal` to the response with the `400` status
  - added the optional property `proposal` to the response with the `401` status
  - added the optional property `proposal` to the response with the `403` status
  - added the optional property `proposal` to the response with the `404` status
  - …2 more

[Operation history](https://skmtc.dev/restivity/apis/restivity-rest-api/changes/comments/:id/delete.md)

---

[API](https://skmtc.dev/restivity/apis/restivity-rest-api.md) · [All operations](https://skmtc.dev/restivity/apis/restivity-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/restivity/apis/restivity-rest-api/revisions/4bd38e30e43f?raw)
