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

# Create User

`POST /api/license-manager/users`

Allows you to create a user by providing an email (mandatory) and name (optional). The email must be in a valid format. The success response will contain the generated `userId` for that user.

## Request body

- CreateUserRequest — Request body for creating users
  - `name` string, required — Name of the user
  - `email` string, required — Email of the user

## Response `200`

Success

- object
  - `id` string — ID of user
  - `email` string — Email of user
  - `name` string — Name of user

## Other responses

- `400` — Bad Request

## Changes

- **2022-01-28** `ca8bd421f133` — 2 warning
  - deleted the `path` request parameter `accountName`
  - deleted the `path` request parameter `environment`
- **2021-11-09** `7a2ee1e98a24` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/vtex/apis/license-manager-api/changes/api/license-manager/users/post.md)

---

[API](https://skmtc.dev/vtex/apis/license-manager-api.md) · [All operations](https://skmtc.dev/vtex/apis/license-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vtex/license-manager-api/revisions/ca8bd421f133/schema)
