Resets the SMTP settings of the current portal.
This method doesn't have any parameters.
DELETE api/2.0/smtpsettings/smtp Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
Default SMTP settings
application/json
{ "status": 0, "response": { "Host": "mail.example.com", "Port": "25", "SenderAddress": "notify@example.com", "SenderDisplayName": "Postman", "CredentialsUserName": "notify@example.com", "CredentialsUserPassword": "{password}", "EnableSSL": true, "EnableAuth": false, "UseNtlm": false, "IsDefaultSettings": false } }
text/xml
<result> <status>0</status> <response> <Host>mail.example.com</Host> <Port>25</Port> <SenderAddress>notify@example.com</SenderAddress> <SenderDisplayName>Postman</SenderDisplayName> <CredentialsUserName>notify@example.com</CredentialsUserName> <CredentialsUserPassword>{password}</CredentialsUserPassword> <EnableSSL>True</EnableSSL> <EnableAuth>False</EnableAuth> <UseNtlm>False</UseNtlm> <IsDefaultSettings>False</IsDefaultSettings> </response> </result>