---
title: "This allows a non-user to create an user"
method: POST
path: "/account/register"
tags: ["account"]
deprecated: true
---

# This allows a non-user to create an user

`POST /account/register`

> **Deprecated.**

## Request body

- User — Use same structure for create and read
  - `id` string
  - `username` string — could username be the email? its unique
  - `firstName` string — do we need this?
  - `lastName` string — do we need this?
  - `email` string
  - `org` string — the uid of the org this user might belong to
  - `role` string[] — permissions types for users * "user" - Allows for searching and downloading * "author" - Allows for searching, downloading, uploading, and updating packages

## Response `200`

successful operation

## Other responses

- `400` — Server cannot execute request due to something that is perceived to be a client error
- `500` — Internal server error

---

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