---
title: "Add a user"
method: POST
path: "/users"
tags: ["users"]
---

# Add a user

`POST /users`

## Request body

- AddUserRequest
  - `password` string, string, required
  - `permissions` string[], required
  - `username` string, string, required

## Response `201`

User successfully added

## Other responses

- `400` — Invalid request
- `401` — Unauthorized (Wrong permissions, missing token)

## Changes

- **2023-02-13** `1041f915f260` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/iotaledger/apis/wasp-api/changes/users/post.md)

---

[API](https://skmtc.dev/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.dev/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/revisions/1041f915f260/schema)
