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

# Edit a user (Admin)

`PATCH /users/{username}`

## Path parameters

- `username` string, 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-24** `3c57979a295f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/users/:username/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/c3f202b17eb7/schema)
