cURL
curl --request POST \ --url http://localhost:63372/api/captain/auth/password \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "current_password": "old-password", "new_password": "new-password" } '
{ "ok": true }
Change the Captain dashboard password. Requires authentication. Invalidates all existing session cookies.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
"old-password"
"new-password"
Success
true