Skip to main content
POST
https://your-rootprint-host
/
api
/
auth
/
change-password
Change current user password
curl --request POST \
  --url https://your-rootprint-host/api/auth/change-password \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "currentPassword": "<string>",
  "newPassword": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Body

application/json
currentPassword
string<password>
required
newPassword
string<password>
required
Required string length: 8 - 128
revokeOtherSessions
boolean

Response

Password change result.

The response is of type object.