Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update caller password

Modify caller password.

PUT/api/2/myself/password
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Request body
requiredapplication/json

The new password to be set.

currentPasswordstring
passwordstring
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.

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/myself/password' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "currentPassword": "current password",
  "password": "new password"
}'
Response
Confirmation that the password was changed.

Was this page helpful?