v1

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

Send a password reset code by email

You must set up an SMTP server and the account must have a valid email address, in which case SFTPGo will send a code via email to reset the password. If the specified admin does not exist, the request will be silently ignored (a success response will be returned) to avoid disclosing existing admins

post/admins/{username}/forgot-password

Response

successful operation

messagestring

message, can be empty

errorstring

error description if any