Open Context Protocol is live! 🚀 Read the launch post

filesCommentsDelete

Deletes an existing comment on a file.

POST /files.comments.delete HTTP/1.1

Parameters

{
  "token": {
    "description": "Authentication token. Requires scope: `files:write:user`",
    "required": false,
    "location": "header",
    "type": "string"
  },
  "file": {
    "description": "File to delete a comment from.",
    "required": false,
    "location": "formData",
    "type": "string"
  },
  "id": {
    "description": "The comment to delete.",
    "required": false,
    "location": "formData",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Schema for successful response files.comments.delete method",
  "properties": {
    "ok": {
      "enum": [
        true
      ],
      "title": "default success response",
      "type": "boolean"
    }
  },
  "required": [
    "ok"
  ],
  "title": "files.comments.delete schema",
  "type": "object"
}