AuthAccount
Change password
Change the current user password
Authorization
Bearer AuthorizationBearer <token>
Bearer is only available for WebApp. Please use API tokens for programmatic access.
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?boolean|null
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