---
title: "PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}"
method: PATCH
path: "/files/{fileId}/comments/{commentId}/replies/{replyId}"
tags: ["replies"]
---

# PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}

`PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}`

Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).

## Path parameters

- `fileId` string, required
- `commentId` string, required
- `replyId` string, required

## Request body

- Reply — A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.
  - `content` string — The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This field is required by the `create` method if no `action` value is specified.
  - `mentionedEmailAddresses` string[] — Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.
  - `deleted` boolean — Output only. Whether the reply has been deleted. A deleted reply has no content.
  - `assigneeEmailAddress` string — Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.
  - `action` string — The action the reply performed to the parent comment. The supported values are: * `resolve` * `reopen`
  - `createdTime` string, date-time — The time at which the reply was created (RFC 3339 date-time).
  - `kind` string — Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`.
  - `htmlContent` string — Output only. The content of the reply with HTML formatting.
  - `id` string — Output only. The ID of the reply.
  - `author` User — Information about a Drive user.
    - `emailAddress` string — Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
    - `displayName` string — Output only. A plain text displayable name for this user.
    - `photoLink` string — Output only. A link to the user's profile photo, if available.
    - `me` boolean — Output only. Whether this user is the requesting user.
    - `kind` string — Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.
    - `permissionId` string — Output only. The user's ID as visible in Permission resources.
  - `modifiedTime` string, date-time — The last time the reply was modified (RFC 3339 date-time).

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/drive.md) · [All operations](https://skmtc.dev/google/apis/drive/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/drive/revisions/f3444ff3fae2/schema)
