---
title: "CreateUser"
method: POST
path: "/api/v1/user/create"
tags: ["user"]
---

# CreateUser

`POST /api/v1/user/create`

CreateUser

## Request body

- V1CreateUserReq
  - `account` string, required
  - `password` string, required
  - `role` 'admin' | 'user', required

## Response `200`

OK

- object
  - `data` V1CreateUserResp
    - `id` string
  - `message` string
  - `success` boolean

---

[API](https://skmtc.net/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.net/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/versions/20a6fc57042a/schema)
