REST APIAuth
Change the signed-in member's password.
Studio sessions only. Every other session of the account ends; this one stays. `revoked` is how many ended.
POST
Studio sessions only. Every other session of the account ends; this one stays. revoked is how many ended.
cookieAuthcookie
sluby_session<token>Signed session cookie issued to the Studio at sign-in (email and password, GitHub, setup, or an invite or reset link).
application/json- body
current_password*stringLength
1 <= length <= 1024new_password*stringLength
10 <= length <= 256Changed.
application/json- response
success*unknownrevoked*integercurl -X POST 'https://sluby.example.com/api/v1/auth/password/change' \ -H 'Content-Type: application/json' \ -d '{ "current_password": "string", "new_password": "stringstri"}'Example Response
{ "success": true, "revoked": 0}