---
title: "PATCH /api/stories/{simulationId}/comments/{commentId}"
method: PATCH
path: "/api/stories/{simulationId}/comments/{commentId}"
tags: ["Comments"]
---

# PATCH /api/stories/{simulationId}/comments/{commentId}

`PATCH /api/stories/{simulationId}/comments/{commentId}`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/stories/{simulationId}/comments/{commentId}`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

- `simulationId` string, uuid, required: A valid GUID
- `commentId` string, uuid, required: A valid GUID

## Request body

- UpdateCommentDto
  - `position` Position2dDto
    - `x` number, double, required
    - `y` number, double, required
  - `nodeId` string, uuid, nullable: A valid GUID
  - `nodeOffset` Position2dDto
    - `x` number, double, required
    - `y` number, double, required
  - `clearNodeId` boolean, required

## Response `200`

OK

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
