---
title: "Mute user"
method: POST
path: "/api/user/mutes"
tags: ["User"]
---

# Mute user

`POST /api/user/mutes`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/user/mutes`
- Auth: HTTP bearer

Persist a one-way mute. Body mutedUserId accepts a User.id or display handle (chat messages historically only sent the handle).

## Request body

- object
  - `mutedUserId` string
  - `handle` string

## Response `201`

{ success, data: { success, id, muterId, mutedId } }

## Other responses

- `400`: { success: false, error, code: VALIDATION_ERROR } — missing/empty mutedUserId or handle, or self-mute
- `401`: { success: false, error, code: UNAUTHORIZED }
- `404`: { success: false, error, code: NOT_FOUND } — mutedUserId/handle did not resolve
- `500`: { success: false, error, code: INTERNAL_ERROR }

## Changes

- **2026-08-21** `76b6029b2b6f`: 1 info
  - endpoint added

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