---
title: "Update user details (admin only)"
method: PATCH
path: "/admin/users/{id}"
tags: ["Admin"]
---

# Update user details (admin only)

`PATCH /admin/users/{id}`

## Request

- Base URL: `https://hoghogh.ai/api/v1`
- URL: `https://hoghogh.ai/api/v1/admin/users/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `subscription` 'free' | 'starter' | 'pro' | 'enterprise'
  - `role` 'lawyer' | 'paralegal' | 'admin'
  - `tokens_remaining` integer

## Response `200`

User updated

---

[API](https://skmtc.dev/hoghogh/apis/chistara-api.md) · [All operations](https://skmtc.dev/hoghogh/apis/chistara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hoghogh/apis/chistara-api/revisions/457df37a06f7?raw)
