Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory > Comment → Modify Comment
AI-generatedSummary
Modifies a comment on an Infomaniak Kdrive file or directory.
Inputs
- authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Choose between OAuth2 or API Key authentication.
- path_drive_id (required) — Unique identifier of the Infomaniak Kdrive. Must be provided as a numeric value.
- path_file_id (required) — Unique identifier of the file or directory containing the comment. Must be provided as a numeric value.
- path_comment_id (required) — Identifier of the comment to modify. Provided as a string value.
- queryParameters — Optional additional query parameters to include in the API request. Use the 'query_with' option to load additional data about the resource, which may include related resources.
- bodyParameters — Optional body fields to include in the modification request. Available fields: 'body_body' (string) for the comment text, and 'body_is_resolved' (boolean) to mark the comment as resolved.
- returnFullResponse — When set to true, returns the full API response object instead of the standard item output. Defaults to false.
Output shape
Returns the updated comment item by default. If returnFullResponse is enabled, returns the complete API response payload.
The operation updates the specified comment on the given file or directory within Infomaniak Kdrive using the selected authentication method and provided parameters.
Examples
Example 1: Modify a comment using OAuth2 authentication
Set authentication to OAuth2, provide the drive ID, file ID, and comment ID. Optionally include body text or resolution status.