Method: comments.delete
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):2024-12-02。"],[[["Deletes a specified comment from a file using the comment's and file's unique identifiers."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with specific scopes related to Google Drive access."],["Utilizes path parameters to identify the target file and comment for deletion."],["For detailed usage and information, refer to the provided links on managing comments and API usage."]]],["This document outlines the process for deleting a comment using an HTTP DELETE request. The request URL includes `fileId` and `commentId` as path parameters. The `fields` parameter is required for the request. The request body must be empty. Successful deletion results in an empty response body. Authorization requires either the `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file` OAuth scope. It is important to consult the fields parameter and authorization guides.\n"]]