---
title: "Suspend a user"
method: PUT
path: "/admin/users/{id}/suspend.json"
tags: ["Users", "Admin"]
---

# Suspend a user

`PUT /admin/users/{id}/suspend.json`

## Path parameters

- `id` integer, required

## Request body

- object
  - `suspend_until` string, required
  - `reason` string, required
  - `message` string — Will send an email with this message when present
  - `post_action` string

## Response `200`

response

- object
  - `suspension` object, required
    - `suspend_reason` string, required
    - `full_suspend_reason` string, required
    - `suspended_till` string, required
    - `suspended_at` string, required
    - `suspended_by` object, required
      - `id` integer, required
      - `username` string, required
      - `name` string, required
      - `avatar_template` string, required

---

[API](https://skmtc.net/discourse/apis/discourse-api-documentation.md) · [All operations](https://skmtc.net/discourse/apis/discourse-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discourse/discourse-api-documentation/versions/fb966f5bb63e/schema)
