For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change the password of a user

Fails when the new password is not strong enough. Cannot be used to change your own password, use PUT /api/v1/user/change_password for that.

put
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired

Name of the user.

Body
new_passwordstringRequired
Responses
200

Password changed.

No content

put/api/v1/user/{username}/password

No content

Last updated

Was this helpful?