---
title: "POST /v1/users"
method: POST
path: "/v1/users"
tags: ["MiniBlog"]
---

# POST /v1/users

`POST /v1/users`

CreateUser 创建用户

## Request body

- V1CreateUserRequest — CreateUserRequest 表示创建用户请求
  - `username` string — username 表示用户名称
  - `password` string — password 表示用户密码
  - `nickname` string — nickname 表示用户昵称
  - `email` string — email 表示用户电子邮箱
  - `phone` string — phone 表示用户手机号

## Response `200`

OK

- V1CreateUserResponse — CreateUserResponse 表示创建用户响应
  - `userID` string — userID 表示新创建的用户 ID

---

[API](https://skmtc.net/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.net/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/260806329592/schema)
