---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Delete Comment

Use this endpoint to delete an existing comment on a published review.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/v2/{account_id}/reviews/{review_id}/comment": {
      "delete": {
        "summary": "Delete Comment",
        "description": "Use this endpoint to delete an existing comment on a published review.",
        "operationId": "delete-a-comment-on-a-review",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "review_id",
            "in": "path",
            "description": "The `review_id` can be found using [All Reviews](ref:all-reviews)",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n       \"code\": 200,\n       \"message\": \"ok\"\n   },\n   \"pagination\": null"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token, or the token belongs to a different store.",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "No such `account_id`"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"error\": \"Feature is disabled comments\",\n    \"code\": 16\n}"
                  },
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Feature is disabled comments"
                    },
                    "code": {
                      "type": "integer",
                      "example": 16,
                      "default": 0
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"error\": \"Review has no comment\",\n    \"code\": 5\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "Review not found"
                        },
                        "code": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "Review has no comment"
                        },
                        "code": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Create New Comment](https://docs.yotpo.com/reference/comment-on-a-review.md)
* [Retrieve Existing Comment](https://docs.yotpo.com/reference/get-comment-by-review-id.md)
* [Update Existing Comment](https://docs.yotpo.com/reference/update-a-comment-on-a-review-1.md)