PATCH /users/me/password endpoint verifies your identity with your current password before accepting the change, enforces the platform’s complexity policy on the new password, and automatically revokes every other active session so you remain the sole authenticated party.
Change Password
Supply your current password and a new password in the request body. The new password must differ from your current one and must satisfy all complexity requirements listed below.PATCH /users/me/password
Before sending this request, call
GET /auth/csrf-token to obtain a CSRF token and include it in the x-csrf-token header.Request Body
string
required
Your existing account password. The request is rejected with
401 if this value does not match what is stored on the account.string
required
The replacement password. Must be at least 8 characters and include all of the following:
- One uppercase letter (A–Z)
- One lowercase letter (a–z)
- One digit (0–9)
- One special character (e.g.
!,@,#,$,%)
current_password. Pattern: /(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_]).{8,}/Response — 200 OK
Error Responses
400 — Validation Error
400 — Validation Error
Returned when:
current_passwordornew_passwordis missing from the body.new_passworddoes not meet the complexity requirements.new_passwordis identical tocurrent_password.
401 — Wrong Current Password
401 — Wrong Current Password
Returned when
current_password does not match the stored credential, or when the session cookie is missing or expired.429 — Rate Limited
429 — Rate Limited
Password change attempts are rate-limited. Check the
Retry-After response header for the number of seconds to wait before retrying.