---
title: "Add user"
method: POST
path: "/usermanagement"
tags: ["User management"]
---

# Add user

`POST /usermanagement`

Add a new user

## Request body

- UserNew
  - `username` string, required — A new username
  - `password` string, required — This password will be hashed for you if the `isPreHashed` is set on false
  - `permissions` string[], required — Roles or authorizations
  - `isPreHashed` false | true, required — If you want to provide hashed password set this property to `true` otherwise we will hash the plain password and store the hash
  - `name` string
  - `email` string
  - `otherInfo` object

## Response `200`

Updated

- object
  - `result` 'success' | 'error', required — Result of the request
  - `action` 'addUser', required — The id of the action
  - `data` object, required
    - `addedUser` object, required
      - `username` string, required — New username
      - `password` string, required — New given password, hashed or not
      - `permissions` string[], required — Permissions of new user
      - `name` string
      - `email` string
      - `otherInfo` object

---

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