---
title: "Update User"
method: PATCH
path: "/api/v1/admin/users/{user_id}"
tags: ["admin"]
---

# Update User

`PATCH /api/v1/admin/users/{user_id}`

## Request

- Base URL: `https://teraads.co` (the document declares no server; this is the origin it was published from)
- URL: `https://teraads.co/api/v1/admin/users/{user_id}`
- Auth: none declared

Update user plan or admin status.

## Path parameters

- `user_id` string, required

## Request body

- UserUpdateRequest
  - `plan` string, nullable
  - `is_admin` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teraads/apis/tera-ads-api.md) · [All operations](https://skmtc.dev/teraads/apis/tera-ads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/teraads/apis/tera-ads-api/revisions/fb2526b5cf3c?raw)
