---
title: "Update a user"
method: PATCH
path: "/v3/admin/users/{id}"
tags: ["Admin"]
---

# Update a user

`PATCH /v3/admin/users/{id}`

## Request

- Base URL: `https://api.rhinoartisan.com`
- URL: `https://api.rhinoartisan.com/v3/admin/users/{id}`
- Auth: API key in header `apikey`
- TypeScript: <https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/docs/v3/admin/users/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Only the provided fields change. `status` -1 also bans the login in Supabase, 1 lifts the ban. `roles` are the global roles (ROLE_SUPERUSER, ROLE_ADMIN, ROLE_TRACKER, ROLE_STAFF).

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 1 | 0 | -1
  - `beta` boolean
  - `fullname` string
  - `jobtitle` string
  - `lang` string
  - `roles` string[]

## Response `200`

Updated user

## Changes

- **2026-10-02** `82c79770c36b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/changes/v3/admin/users/:id/patch.md)

---

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