---
ai:
  exclude: true
search:
  tags:
    - myself
    - PUT
seo:
  description: >-
    Modify caller password. Reference for the PUT /api/2/myself/password
    endpoint in the Jira Software Data Center REST API Reference.
sidebar:
  label: Update caller password
  badge: PUT
title: Update caller password
type: openapi-operation
---
Modify caller password.

`PUT /api/2/myself/password`

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

The new password to be set.

- `currentPassword` (string)
- `password` (string)

Request body example:

```json
{
  "currentPassword": "current password",
  "password": "new password"
}
```

**Responses**

- `204` — Confirmation that the password was changed.
- `400` — The request is invalid including incorrect password.
- `401` — The user is not authenticated.
- `403` — The directory is read-only.
- `404` — The user could not be found.
