Users
Set user password
Changed onSet 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
Request
- Base URLhttp://127.0.0.1:8000
- URLhttp://127.0.0.1:8000/v1/users/{user-id}/password
- AuthHTTP bearer
Path parameters
user-idinteger required
User ID
Request body
Response
Password changed successfully
Changes
- info
api operation id
setUserPasswordwas added
- info
- info
endpoint added
- info