---
ai:
  exclude: true
search:
  tags:
    - user
    - POST
seo:
  description: >-
    Create user. By default created user will not be notified… Reference for the
    POST /api/2/user endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Create new user
  badge: POST
title: Create new user
type: openapi-operation
---
Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.

`POST /api/2/user`

**Request body** (`application/json`, required)

User details

- `active` (boolean)
- `applicationKeys` (string[])
- `displayName` (string)
- `emailAddress` (string)
- `key` (string)
- `name` (string)
- `notification` (string)
- `password` (string)
- `self` (string)

Request body example:

```json
{
  "active": true,
  "applicationKeys": [
    "jira-core"
  ],
  "displayName": "Charlie of Atlassian",
  "emailAddress": "charlie@atlassian.com",
  "key": "charlie",
  "name": "charlie",
  "notification": "HTML",
  "password": "abracadabra",
  "self": "http://www.example.com/jira/rest/api/2/user?username=charlie"
}
```

**Responses**

- `201` — Returned if the user was created.
- `400` — Returned if the request is invalid.
- `401` — Returned if the user is not authenticated.
- `403` — Returned if the caller user does not have permission to create the user.
- `500` — Returned if the user was not created because of other error.

Response example, 201:

```json
{
  "active": true,
  "applicationKeys": [
    "jira-core"
  ],
  "displayName": "Charlie of Atlassian",
  "emailAddress": "charlie@atlassian.com",
  "key": "charlie",
  "name": "charlie",
  "notification": "HTML",
  "password": "abracadabra",
  "self": "http://www.example.com/jira/rest/api/2/user?username=charlie"
}
```
