Skip to main content
You're reading Identity & Access Management 7.2.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Self password update API

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/users/v1

The WSO2 Identity Server - User Password Management API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

1 scopes
ScopeDescription
internal_user_password_updateAllows the authenticated user to update their own password.

me​

Operations for the authenticated user.

Change user password​

POST /me/change-password

This API is used to change the password of the authenticated user.

Scope(Permission) required: internal_user_password_update

Scopes: internal_user_password_update

Request body (required): application/json

Password change request.

Schema: PasswordChangeRequest

2 properties
NameTypeRequiredDescription
currentPasswordstringYes

Current password of the user.

newPasswordstringYes

New password to set for the user.

Responses

CodeDescriptionSchema
204

Password successfully changed

400

Bad Request

Error
401

Unauthorized

Error
403

Forbidden

Error
500

Internal Server Error

Error

Schemas​

PasswordChangeRequest​

Type: object

2 properties
NameTypeRequiredDescription
currentPasswordstringYes

Current password of the user.

newPasswordstringYes

New password to set for the user.

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

Was this page helpful?