v1

latestOpenAPI 3.0.3AGPL-3.0-only2026-07-17120116247.0 KB
users

Send a password reset code by email

You must configure an SMTP server, the account must have a valid email address and must not have the "reset-password-disabled" restriction, in which case SFTPGo will send a code via email to reset the password. If the specified user does not exist, the request will be silently ignored (a success response will be returned) to avoid disclosing existing users

post/users/{username}/forgot-password

Response

successful operation

messagestring

message, can be empty

errorstring

error description if any