AuthAccount
Change password
Change the current user password
Authorization
AuthBearerActiveUser
AuthorizationBearer <token>
In: header
Request Body
application/json
current_password*string
The current password
Length
6 <= lengthnew_password*string
The new password
Length
6 <= lengthlogout_all_sessions?Logout All Sessions|Logout All Sessions
If true, all sessions will be logged out
Default
falseResponse Body
application/json
curl -X POST "https://api.misaka.io/v3/account/password" \ -H "Content-Type: application/json" \ -d '{ "current_password": "string", "new_password": "string" }'{
"success": true
}How is this guide?
Last updated on