---
title: "Update locker room post content"
method: PUT
path: "/api/locker-room/{id}"
tags: ["Locker room"]
---

# Update locker room post content

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

## Request

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

## Path parameters

- `id` string, required

## Request body

- object
  - `content` string, required
  - `mentionedUserIds` string[], nullable: Omit or null leaves existing tags unchanged. [] clears them. A non-array is 400.

## Response `200`

{ success, data: { id, content, updatedAt, mentions } }

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Not post owner
- `404`: Post not found

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - added the new optional request property `mentionedUserIds`
- **2026-08-16** `16bfbac187d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/locker-room/:id/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)
