---
title: "Delete comment"
method: DELETE
path: "/v2/optimize/comments/{comment_id}"
tags: ["comments"]
---

# Delete comment

`DELETE /v2/optimize/comments/{comment_id}`

Deletes a comment on a recommendation.

## Path parameters

- `comment_id` string, required — The ID of the comment to delete

## Response `200`

Successful Response

- DeleteCommentResponse
  - `comment_id` string, required — The ID of the comment that was deleted

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
