---
title: "The administrator adds users, users cannot register themselves"
method: POST
path: "/v1/register"
tags: ["Users"]
---

# The administrator adds users, users cannot register themselves

`POST /v1/register`

Registration(obsolete)

## Request body

- UserRegisterRequest
  - `confirm_password` string
  - `email` string
  - `password` string

## Response `200`

{"code":0,"message":"OK","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"}}

- string

## Changes

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

- **2020-12-13** `2743e3738539` — 2 info
  - api tag `Users` added
  - api tag `用户` removed
- **2020-11-10** `71115600dc50` — 1 info
  - endpoint added
- **2020-10-29** `626c0be310f3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/changes/v1/register/post.md)

---

[API](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api.md) · [All operations](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nocalhost/nocalhost-docs-api/revisions/9f53c7025f7a/schema)
