Change password
Change the password for the current user.
Validation Rules:
- New password supplied cannot be null or blank
Example request URI(s):
http://example.com/confluence/rest/api/user/current/password
POST
/rest/api/user/current/passwordRequest body
application/jsonpassword change details
oldPasswordstringnewPasswordstringResponses
204
returned if the password changed successfully.
400
returned if any error occurs while changing user password. Refer the validation rules above.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring401
returned if the user is not authenticated.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring403
returned if current password is wrong or if the user has exceeded number of allowed failed login attempts .
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring