v1

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

Save a TOTP config

Saves the specified TOTP config for the logged in admin

post/admin/totp/save

Request body

enabledboolean
config_namestring

This name must be defined within the "totp" section of the SFTPGo configuration file. You will be unable to save a user/admin referencing a missing config_name

Response

successful operation

messagestring

message, can be empty

errorstring

error description if any