Skip to main content
Change the local password for a password-backed account
curl --request POST \
  --url https://api.acornops.dev/api/v1/auth/password/change \
  --header 'Content-Type: application/json' \
  --cookie acornops_cp_session= \
  --data '
{
  "currentPassword": "<string>",
  "newPassword": "<string>"
}
'
{
  "ok": true,
  "status": "<string>",
  "message": "<string>",
  "resendAfterSeconds": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.acornops.dev/llms.txt

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

Authorizations

acornops_cp_session
string
cookie
required

Body

application/json
currentPassword
string<password>
required
newPassword
string<password>
required
Required string length: 15 - 1024

Response

Password changed, session rotated, and other sessions revoked.

ok
boolean
status
string
message
string
resendAfterSeconds
integer