---
title: "Create a user"
method: POST
path: "/users"
tags: ["User Management"]
deprecated: true
---

# Create a user

`POST /users`

> **Deprecated.**

Used to create a new user. To disable this endpoint, `config.account.allow_signup` must be set to false.

## Request body

- object
  - `email` string, email, required

## Response `200`

Details about the created user

- CreateUserResponseObject
  - `user_id` string, uuid4
  - `email_id` string, uuid4

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `409` — Conflict
- `500` — Internal server error

---

[API](https://skmtc.net/hanko/apis/hanko-admin-api.md) · [All operations](https://skmtc.net/hanko/apis/hanko-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hanko/hanko-admin-api/versions/d22a127b0978/schema)
