---
title: "Edit your own comment"
method: PATCH
path: "/entries/{entryId}/merge-requests/{mrId}/comments/{commentId}"
tags: ["Entry versioning"]
---

# Edit your own comment

`PATCH /entries/{entryId}/merge-requests/{mrId}/comments/{commentId}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/merge-requests/{mrId}/comments/{commentId}`
- Auth: HTTP bearer

## Path parameters

- `entryId` string, uuid, required
- `mrId` string, uuid, required
- `commentId` string, uuid, required

## Request body

- EditMergeRequestCommentRequest
  - `body` string, required

## Response `200`

OK

- object
  - `data` WrittenMergeRequestComment, required
    - `id` string, uuid, required
    - `body` string, required
    - `createdAt` string, required
    - `editedAt` string, nullable, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `403`: Not the comment's author
- `404`: Not found

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
