---
title: "Edit comment"
method: PUT
path: "/api/locker-room/{id}/comments/{commentId}"
tags: ["Locker room"]
---

# Edit comment

`PUT /api/locker-room/{id}/comments/{commentId}`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/locker-room/{id}/comments/{commentId}`
- Auth: HTTP bearer

Edits the caller's own comment. Body: { content, mentionedUserIds?: string[] }. Omitting mentionedUserIds (or sending null) leaves existing mentions untouched; send an explicit [] to clear them. Responses echo mentions[].

## Path parameters

- `id` string, required
- `commentId` string, required

## Response `200`

{ success, data }

## Changes

- **2026-09-12** `c191eafc1801`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/locker-room/:id/comments/:commentId/put.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
