Change the password of a user
put
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired
Name of the user.
Body
new_passwordstringRequired
Responses
200
Password changed.
No content
400
Password does not satisfy the requirements, or the request targets your own account.
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
404
User not found.
500
Unable to change user password.
application/json
put/api/v1/user/{username}/password
No content
Last updated
Was this helpful?