---
title: "Delete comment"
method: DELETE
path: "/api/posts/{post_id}/comments/{id}"
tags: ["Comments"]
---

# Delete comment

`DELETE /api/posts/{post_id}/comments/{id}`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/posts/{post_id}/comments/{id}`
- Auth: HTTP bearer

Deletes a comment from the platform asynchronously.

## Query parameters

- `profile_group_id` string
- `profile_id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Deletion accepted for asynchronous processing.

- object
  - `accepted` boolean

## Other responses

- `400`: Missing required parameters.
- `401`: Invalid, missing, or insufficient API key permissions.
- `404`: Resource does not exist or is not accessible.
- `405`: Unsupported method for this platform or resource.
- `422`: Validation failed.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
