Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sertexity.com/llms.txt

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

Change Password

Update the account password. All existing sessions are revoked on success. POST /account/change-password  ·  🔒 Auth required

Request

{
  "current_password": "Str0ng!Pass",
  "new_password": "Even$tr0nger!",
  "new_password_confirmation": "Even$tr0nger!"
}
FieldTypeRequiredNotes
current_passwordstring
new_passwordstringMin 8 chars, uppercase + lowercase + digit + special char
new_password_confirmationstringMust match new_password exactly

Response 204 No Content

Empty body. All refresh tokens are revoked — a new login is required.

Errors

CodeHTTPCause
VALIDATION_ERROR400Weak password or confirmation mismatch
INVALID_CREDENTIALS401current_password is incorrect

Example

curl -X POST https://api.sertexity.com/v1/account/change-password \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "current_password": "Str0ng!Pass",
    "new_password": "Even$tr0nger!",
    "new_password_confirmation": "Even$tr0nger!"
  }'