---
title: "Delete a comment on a post"
method: DELETE
path: "/v1/posts/{postId}/comments/{messageId}"
tags: ["posts"]
---

# Delete a comment on a post

`DELETE /v1/posts/{postId}/comments/{messageId}`

## Path parameters

- `postId` string, uuid, required
- `messageId` string, uuid, required

## Response `200`

Successful response

- DeleteCommentOutput
  - `success` boolean, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/versions/d9a714c3ff23/schema)
