---
title: "Create a user"
method: POST
path: "/users"
tags: ["Users"]
---

# Create a user

`POST /users`

Create a new user

## Request body

- User
  - `id` integer
  - `name` string
  - `password` string
  - `enabled` boolean
  - `email` string
  - `superadmin` boolean

## Response `201`

Successfully created user

## Changes

> 50 revisions in range; 1 could not be searched.

- **2022-10-01** `48742db05d66` — 1 info
  - added the new optional request property `superadmin`
- **2022-09-28** `d751281528c4` — 1 info
  - endpoint added
- **2021-01-31** `6dffc3a4de00` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kraken-ci/apis/server-api/changes/users/post.md)

---

[API](https://skmtc.dev/kraken-ci/apis/server-api.md) · [All operations](https://skmtc.dev/kraken-ci/apis/server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kraken-ci/server-api/revisions/1f2ae877f985/schema)
