---
title: "Register a new user (admin)"
method: POST
path: "/users/"
tags: ["Other"]
---

# Register a new user (admin)

`POST /users/`

## Request

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

## Request body

- object
  - `email` string, required
  - `google_id` string
  - `profile_picture` string
  - `active` boolean
  - `fs_uniquifier` string

## Response `201`

User created

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

## Other responses

- `400`: Bad Request - email required
- `403`: Forbidden - admin role required

## Changes

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

[Operation history](https://skmtc.dev/quadsproject/apis/quads/changes/users/post.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)
