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
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.