---
title: "Create a User"
method: POST
path: "/api/users"
tags: ["User"]
---

# Create a User

`POST /api/users`

Create a User, available only to system administrators

## Request body

- object
  - `username` string, required
  - `role` 'ADMIN' | 'USER', required
  - `email` string, email
  - `companyId` string, required
  - `password` string, required

## Response `200`

User created

- Schema — unresolved $ref

## Other responses

- `400` — Bad request
- `403` — Authenticated user not allowed to perform this operation

---

[API](https://skmtc.dev/cablelabs/apis/lpwan-server.md) · [All operations](https://skmtc.dev/cablelabs/apis/lpwan-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cablelabs/lpwan-server/revisions/a77a7d2af072/schema)
