Method: comments.delete
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[null,null,["上次更新時間: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"]]