---
title: "Delete a comment"
method: DELETE
path: "/posts/{postId}/comments/{commentId}"
---

# Delete a comment

`DELETE /posts/{postId}/comments/{commentId}`

## Request

- Base URL: `https://app.voteship.app/api/v1`
- URL: `https://app.voteship.app/api/v1/posts/{postId}/comments/{commentId}`
- Auth: HTTP bearer

## Path parameters

- `postId` string, required
- `commentId` string, required

## Response `204`

Delete a comment

## Other responses

- `400`: Validation error
- `401`: Secret API key required
- `404`: Entity not found in this project

---

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