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

# Admin Update User

`PATCH /v1/admin/users/{key_id}`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/admin/users/{key_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Update user fields. For balance changes, creates ledger entry.

## Path parameters

- `key_id` integer, required

## Request body

- ChainragApiV1AdminUserUpdate
  - `status` string, nullable
  - `role` string, nullable
  - `rate_limit` integer, nullable
  - `balance_adjust` number, nullable
  - `balance_adjust_reason` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bitpoort/apis/bitpoort-api.md) · [All operations](https://skmtc.dev/bitpoort/apis/bitpoort-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bitpoort/apis/bitpoort-api/revisions/1a51d8566777?raw)
