ReferenceAuth
Change the password
POST
Replaces the password of the caller after verifying the current one, through the strategy of the session, and lifts the password-change-only restriction of the session. A wrong current password is not counted as a failed login.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
The current and the new password
application/json- body
currentPassword*stringCurrent password
Length
length <= 1024newPassword*stringNew password
Length
length <= 1024The password is changed
curl -X POST 'https://bpms.bpms.work/api/v1/auth/password' \ -H 'Content-Type: application/json' \ -d '{ "currentPassword": "string", "newPassword": "string"}'Example Response
Empty