> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete the comment

> Marks the comment as deleted. The comment can be restored later via a POST to the restore-deleted endpoint.

export const ScopesList = ({scopes = [], description = "この API には、次のいずれかのスコープが必要です。"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

<Accordion title="Scope requirements">
  <ScopesList scopes={['content']} />
</Accordion>


## OpenAPI

````yaml specs/legacy/v3/blog-comments-v3.json DELETE /comments/v3/comments/{comment_id}
openapi: 3.0.1
info:
  title: Blog Comments API - V3
  version: v3
  description: >-
    Use the Blog Comments API to create and manage blog comments, including
    restoring deleted comments.
  x-hubspot-api-use-case: >-
    You want to build a system for automating the moderation of comments left on
    your company's blog.
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Blog Comments
paths:
  /comments/v3/comments/{comment_id}:
    delete:
      tags:
        - Blog Comments
      summary: Delete the comment
      description: >-
        Marks the comment as deleted. The comment can be restored later via a
        POST to the restore-deleted endpoint.
      operationId: delete-comments-v3-comments-comment_id
      parameters:
        - name: comment_id
          in: path
          required: true
          description: Unique identifier for a particular comment.
          schema:
            type: integer
            format: int64
      responses:
        '204':
          description: No Content
        default:
          $ref: '#/components/responses/Error'
      security:
        - oauth2:
            - content
        - private_apps: []
components:
  responses:
    Error:
      description: An error occurred.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
              message:
                type: string

````