---
ai:
  exclude: true
search:
  tags:
    - user
    - PUT
seo:
  description: >-
    Modify user. The 'value' fields present will override the… Reference for the
    PUT /api/2/user endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Update user details
  badge: PUT
title: Update user details
type: openapi-operation
---
Modify user. The 'value' fields present will override the existing value. Fields skipped in request will not be changed.

`PUT /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**

- `200` — Returned if the user exists and the caller has permission to edit it.
- `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 edit the user.
- `404` — Returned if the caller does have permission to edit the user but the user does not exist.

Response example, 200:

```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"
}
```
