---
title: "Deletes a Comment"
method: DELETE
path: "/api/2026-10-01/resources/posts/comments/{id}"
tags: ["Posts > Comment"]
---

# Deletes a Comment

`DELETE /api/2026-10-01/resources/posts/comments/{id}`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/posts/comments/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `posts`
  - API key in header `x-api-key`

Deletes a Comment

## Path parameters

- `id` string, required

## Response `200`

OK

- PostsComment
  - `id` string, required: identifier of the comment
  - `post_id` string, required: identifier of the post
  - `author_id` string, required: author identifier refers to the employee access, you can get the employee from the employee endpoint
  - `text` string, required: text of the comment
  - `created_at` string, required: date of the comment

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/posts/comments/:id/delete.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
