---
title: "Set Auth User Suspended"
method: PATCH
path: "/api/apps/{name}/auth/users/{user_id}"
tags: ["deploy"]
---

# Set Auth User Suspended

`PATCH /api/apps/{name}/auth/users/{user_id}`

## Request

- Base URL: `https://softkiln.com` (the document declares no server; this is the origin it was published from)
- URL: `https://softkiln.com/api/apps/{name}/auth/users/{user_id}`
- Auth: none declared

## Path parameters

- `name` string, required
- `user_id` string, required

## Request body

- SetSuspendedRequest
  - `is_suspended` boolean, required

## Response `200`

Successful Response

- TenantUserOut
  - `id` string, nullable
  - `email` string, nullable
  - `username` string, nullable
  - `name` string, nullable
  - `sign_in_methods` string[]
  - `created_at` string, nullable
  - `last_sign_in_at` string, nullable
  - `is_suspended` boolean
  - `application_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/softkiln/apis/app-manager-api.md) · [All operations](https://skmtc.dev/softkiln/apis/app-manager-api/llms.txt) · [OpenAPI document](https://skmtc.dev/softkiln/apis/app-manager-api/revisions/de2b674a7f21?raw)
