API docs / API reference / Portal logins

Change own password

POST /v1/portal/password

With a session token. The login’s other sessions end.

Body

current required
string
—
password required
string
At least 10 characters.

Send an Idempotency-Key header to make a retry safe: the same key within 24 hours returns the first answer and is never charged twice.

Request

curl -X POST "https://amarkos.com/api/v1/portal/password" \
  -H "Authorization: Bearer $AMARKOS_KEY"

Response · 200

{
  "changed": true
}

← Who is signed in · Sign out →