v51

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Users

Set user password

Set or change a user's password. The operation is treated as a self-change when the target user-id is the currently authenticated user, and as an administrative reset otherwise. When self-changing, oldPassword is required so the current password can be verified; for an administrative reset oldPassword is not required.

Users can change their own password without MANAGE_USERS access right. Administrative password reset requires MANAGE_USERS access right.

post/v1/users/{user-id}/password

Path parameters

user-idinteger required

User ID

Request body

newPasswordstring required

The new password

oldPasswordstring

Current password (required for self-change, omit for admin reset)

Response

Password changed successfully