Method: comments.delete
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-04。
[null,null,["最后更新时间 (UTC):2024-09-04。"],[[["Deletes a specific comment from a file using the comment and file IDs."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with specific scopes, such as `https://www.googleapis.com/auth/drive`, `https://www.googleapis.com/auth/drive.file`, or `https://www.googleapis.com/auth/docs`."],["Utilizes an HTTP DELETE request to `https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}` with the file and comment IDs as path parameters."]]],["This document outlines the process for deleting a comment using an HTTP DELETE request. The request URL is structured with `fileId` and `commentId` as path parameters. The request body must be empty. A successful deletion results in an empty response body. Authorization requires one of three specified OAuth scopes, some of which are restricted. The full request path is `https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}`.\n"]]