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
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.