manage_system_settings 权限;浏览器会话还需要 CSRF。{
"host": "string",
"port": 1,
"username": "string",
"from_address": "string",
"ssl_enabled": true,
"force_auth_login": true,
"password_action": "keep",
"password": "pa$$word"
}curl --location --request PUT '/api/v1/admin/settings/smtp' \
--header 'Content-Type: application/json' \
--data '{
"host": "string",
"port": 1,
"username": "string",
"from_address": "string",
"ssl_enabled": true,
"force_auth_login": true,
"password_action": "keep",
"password": "pa$$word"
}'{
"host": "string",
"port": 1,
"username": "string",
"from_address": "string",
"ssl_enabled": true,
"force_auth_login": true,
"password_configured": true
}