---
title: "Edit a user (Admin)"
method: PATCH
path: "/users/{user_id}"
tags: ["Users"]
---

# Edit a user (Admin)

`PATCH /users/{user_id}`

## Path parameters

- `user_id` integer, required

## Query parameters

- `password` string
- `email` string
- `fullname` string
- `website` string
- `state` string
- `city` string
- `disable` 0 | 1
- `group` integer
- `maxbitrate` string
- `fullname_public` 0 | 1
- `reset_apikey` 0 | 1
- `reset_streamtoken` 0 | 1
- `clear_stats` 0 | 1

## Response `200`

Updated

- SuccessResponse
  - `success` string

## Changes

- **2026-02-19** `07f53972fdd7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/users/:user_id/patch.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/b515694fd82a/schema)
