---
title: "Mute User by User ID."
method: POST
path: "/2/users/{id}/muting"
tags: ["Users"]
---

# Mute User by User ID.

`POST /2/users/{id}/muting`

Causes the User (in the path) to mute the target User. The User (in the path) must match the User context authorizing the request.

## Path parameters

- `id` string, required — Unique identifier of this User. The value must be the same as the authenticated user.

## Request body

- MuteUserRequest
  - `target_user_id` string, required — Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.

## Response `200`

The request has succeeded.

- MuteUserMutationResponse
  - `data` object
    - `muting` boolean
  - `errors` Problem[]
    - `detail` string
    - `status` integer
    - `title` string, required
    - `type` string, required

## Other responses

- `default` — The request has failed.

---

[API](https://skmtc.net/mfullbrook/apis/current.md) · [All operations](https://skmtc.net/mfullbrook/apis/current/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mfullbrook/current/revisions/4b066912ce32/schema)
