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

Update user password

Modify user password.

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

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

Query parameters
keystring

user key

usernamestring

the username

Request body
requiredapplication/json

Password details

currentPasswordstring
passwordstring
Responses
204

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 does not have permission to change the user password.

404

Returned if the caller does have permission to change user password but the user does not exist.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/user/password' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "currentPassword": "current password",
  "password": "new password"
}'
Response
Returned if the user exists and the caller has permission to edit it.

Was this page helpful?