v25

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-015053126.2 KB
Users

Add user password

Add a new password to a user's passwords list

post/v1/users/password

Request body

new_passwordstring required

A password to add

old_passwordstring

An existing password of the user. Ignored and will be removed in 8.2.0.

password_hash_method1

Used when password is passed pre-hashed

usernamestring

The username of the affected user. If missing, defaults to authenticated user

Response

Password added successfully