---
title: "Update a user (admin)"
method: PATCH
path: "/users/{email}"
tags: ["Other"]
---

# Update a user (admin)

`PATCH /users/{email}`

## Request

- Base URL: `https://quads.example.com/api/v3`
- URL: `https://quads.example.com/api/v3/users/{email}`
- Auth: HTTP bearer

## Path parameters

- `email` string, required

## Request body

- object
  - `ssh_key` string
  - `release_command` string
  - `google_id` string
  - `profile_picture` string
  - `active` boolean

## Response `200`

User updated

- User
  - `email` string, required
  - `active` boolean
  - `confirmed_at` string
  - `auth_token` string
  - `roles` Role[]
    - `id` integer
    - `name` string, required
    - `description` string

## Other responses

- `403`: Forbidden - admin role required

## Changes

- **2026-09-02** `66987ade4877`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quadsproject/apis/quads/changes/users/:email/patch.md)

---

[API](https://skmtc.dev/quadsproject/apis/quads.md) - [All operations](https://skmtc.dev/quadsproject/apis/quads/llms.txt) - [OpenAPI document](https://skmtc.dev/quadsproject/apis/quads/revisions/9d9de833ae79?raw)
