Method: comments.delete
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-04 UTC。
[null,null,["最終更新日 2024-09-04 UTC。"],[[["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"]]